Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: pkg/analyzer/lib/src/generated/java_core.dart

Issue 2328993002: Remove JavaString from java_core. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698