Drop unneeded factory methods due to ABI version increase

Either ReflectionFactory or direct creation is now used instead
This commit is contained in:
Alexander Udalov
2014-12-09 01:29:11 +03:00
parent 17c930c84f
commit 245b16dccc
5 changed files with 11 additions and 55 deletions
@@ -16,7 +16,6 @@
package kotlin.jvm.internal;
import kotlin.IntRange;
import kotlin.KotlinNullPointerException;
import java.util.Arrays;
@@ -94,12 +93,6 @@ public class Intrinsics {
return first == null ? second == null : first.equals(second);
}
// This method is not used from generated code anymore but kept for backwards compatibility
@Deprecated
public static IntRange arrayIndices(int length) {
return new IntRange(0, length - 1);
}
private static void throwUndefinedForReified() {
throw new UnsupportedOperationException("You should not use functions with reified parameter without inline");
}