Drop package facades: code cleanup in Kotlin project.

This commit is contained in:
Dmitry Petrov
2015-10-13 14:50:49 +03:00
parent 57869d85e8
commit 8cd624a58a
301 changed files with 1285 additions and 1362 deletions
@@ -21,7 +21,7 @@ import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.kotlin.utils.UtilsPackage;
import org.jetbrains.kotlin.utils.ExceptionUtilsKt;
import org.jetbrains.kotlin.utils.WrappedValues;
import java.util.Arrays;
@@ -37,7 +37,7 @@ public class LockBasedStorageManager implements StorageManager {
@NotNull
@Override
public RuntimeException handleException(@NotNull Throwable throwable) {
throw UtilsPackage.rethrow(throwable);
throw ExceptionUtilsKt.rethrow(throwable);
}
};
@@ -74,7 +74,7 @@ public class WrappedValues {
@Nullable
public static <V> V unescapeThrowable(@Nullable Object value) {
if (value instanceof ThrowableWrapper) {
throw UtilsPackage.rethrow(((ThrowableWrapper) value).getThrowable());
throw ExceptionUtilsKt.rethrow(((ThrowableWrapper) value).getThrowable());
}
//noinspection unchecked