Remove java.util.* imports from common code.
This commit is contained in:
@@ -18,7 +18,6 @@ package test.collections.js
|
||||
|
||||
import org.junit.Test as test
|
||||
import kotlin.test.*
|
||||
import java.util.*
|
||||
|
||||
class JsArrayTest {
|
||||
|
||||
|
||||
@@ -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.*
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user