Remove java.util.* imports from common code.

This commit is contained in:
Ilya Gorbunov
2016-11-16 21:06:57 +03:00
parent b4fbedbc9e
commit 50cd620f92
21 changed files with 9 additions and 40 deletions
-1
View File
@@ -1,6 +1,5 @@
package test.comparisons
import java.util.*
import kotlin.test.*
import org.junit.Test
import kotlin.comparisons.*
@@ -18,7 +18,6 @@ package test.collections
import test.collections.behaviors.listBehavior
import test.comparisons.STRING_CASE_INSENSITIVE_ORDER
import java.util.*
import kotlin.test.*
import org.junit.Test as test
import kotlin.comparisons.*
@@ -16,7 +16,6 @@
package test.collections
import java.util.*
import kotlin.test.*
import org.junit.Test as test
import test.collections.behaviors.*
@@ -1,6 +1,5 @@
package test.collections
import java.util.*
import kotlin.test.*
import org.junit.Test as test
@@ -2,8 +2,6 @@ package test.collections
import kotlin.test.*
import java.util.*
import org.junit.Test as test
class MutableCollectionTest {
@@ -3,7 +3,6 @@ package test.collections
import org.junit.Test as test
import org.junit.Test
import kotlin.test.*
import java.util.*
import kotlin.comparisons.*
fun fibonacci(): Sequence<Int> {
-1
View File
@@ -18,7 +18,6 @@ package test.collections.js
import org.junit.Test as test
import kotlin.test.*
import java.util.*
class JsArrayTest {
-1
View File
@@ -2,7 +2,6 @@ package test.collections.js
import kotlin.test.*
import org.junit.Test as test
import java.util.*
import test.collections.*
import test.collections.behaviors.*
-1
View File
@@ -4,7 +4,6 @@ import kotlin.test.*
import org.junit.Test
import test.collections.*
import test.collections.behaviors.*
import java.util.*
class ComplexSetJsTest : SetJsTest() {
// Helper function with generic parameter to force to use ComlpexHashMap
+1 -2
View File
@@ -14,10 +14,9 @@
* limitations under the License.
*/
@file:JvmVersion
package test.collections.js
import java.util.*
public fun <V> stringMapOf(vararg pairs: Pair<String, V>): HashMap<String, V> = hashMapOf<String, V>(*pairs)
public fun <V> linkedStringMapOf(vararg pairs: Pair<String, V>): LinkedHashMap<String, V> = linkedMapOf(*pairs)
public fun stringSetOf(vararg elements: String): HashSet<String> = hashSetOf(*elements)
@@ -1,7 +1,5 @@
package test.properties.delegation.map
import java.util.*
import kotlin.properties.*
import kotlin.test.*
import org.junit.Test as test