Replace KotlinPackage legacy facade with corresponding package parts.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
package org.jetbrains.kotlin.utils;
|
||||
|
||||
import kotlin.KotlinPackage;
|
||||
import kotlin.CollectionsKt;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -61,7 +61,7 @@ public final class Interner<T> {
|
||||
|
||||
@NotNull
|
||||
public List<T> getAllInternedObjects() {
|
||||
return KotlinPackage.sortedBy(interned.keySet(), new Function1<T, Integer>() {
|
||||
return CollectionsKt.sortedBy(interned.keySet(), new Function1<T, Integer>() {
|
||||
@Override
|
||||
public Integer invoke(T key) {
|
||||
return interned.get(key);
|
||||
|
||||
Reference in New Issue
Block a user