Index: pkg/analyzer/lib/src/generated/java_core.dart |
diff --git a/pkg/analyzer/lib/src/generated/java_core.dart b/pkg/analyzer/lib/src/generated/java_core.dart |
index 0a96605c7c709d18359fbdd019f43e3154ab19b3..ed0d03f2569a361af5609749b4295d022faaef9d 100644 |
--- a/pkg/analyzer/lib/src/generated/java_core.dart |
+++ b/pkg/analyzer/lib/src/generated/java_core.dart |
@@ -137,20 +137,6 @@ abstract class Enum<E extends Enum> implements Comparable<E> { |
String toString() => name; |
} |
-class JavaString { |
- static int indexOf(String target, String str, int fromIndex) { |
- if (fromIndex > target.length) return -1; |
- if (fromIndex < 0) fromIndex = 0; |
- return target.indexOf(str, fromIndex); |
- } |
- |
- static int lastIndexOf(String target, String str, int fromIndex) { |
- if (fromIndex > target.length) return -1; |
- if (fromIndex < 0) fromIndex = 0; |
- return target.lastIndexOf(str, fromIndex); |
- } |
-} |
- |
class PrintStringWriter extends PrintWriter { |
final StringBuffer _sb = new StringBuffer(); |