Move kotlin.comparisons.Comparator to kotlin package and remove the former from default imports.
This commit is contained in:
@@ -47,7 +47,6 @@ abstract class TargetPlatform(val platformName: String) {
|
|||||||
add(ImportPath("kotlin.ranges.*"))
|
add(ImportPath("kotlin.ranges.*"))
|
||||||
add(ImportPath("kotlin.sequences.*"))
|
add(ImportPath("kotlin.sequences.*"))
|
||||||
add(ImportPath("kotlin.text.*"))
|
add(ImportPath("kotlin.text.*"))
|
||||||
add(ImportPath("kotlin.comparisons.Comparator"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override val platformConfigurator =
|
override val platformConfigurator =
|
||||||
|
|||||||
@@ -31,3 +31,6 @@ package kotlin
|
|||||||
@SinceKotlin("1.1") public typealias AssertionError = java.lang.AssertionError
|
@SinceKotlin("1.1") public typealias AssertionError = java.lang.AssertionError
|
||||||
|
|
||||||
@SinceKotlin("1.1") public typealias NoSuchElementException = java.util.NoSuchElementException
|
@SinceKotlin("1.1") public typealias NoSuchElementException = java.util.NoSuchElementException
|
||||||
|
|
||||||
|
|
||||||
|
@SinceKotlin("1.1") public typealias Comparator<T> = java.util.Comparator<T>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package kotlin.comparisons
|
package kotlin
|
||||||
|
|
||||||
|
|
||||||
public interface Comparator<T> {
|
public interface Comparator<T> {
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
@file:kotlin.jvm.JvmVersion
|
|
||||||
|
|
||||||
package kotlin.comparisons
|
|
||||||
|
|
||||||
public typealias Comparator<T> = java.util.Comparator<T>
|
|
||||||
Reference in New Issue
Block a user