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

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

Issue 2329483002: Remove JavaArrays 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 | « pkg/analysis_server/lib/src/services/search/search_engine.dart ('k') | no next file » | 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 3988cf9b05eda3d4d70e38a51ca0e4fa8e10b2e2..2b346950cf549e8974ae44d07d09d147a772da0e 100644
--- a/pkg/analyzer/lib/src/generated/java_core.dart
+++ b/pkg/analyzer/lib/src/generated/java_core.dart
@@ -137,21 +137,6 @@ abstract class Enum<E extends Enum> implements Comparable<E> {
String toString() => name;
}
-class JavaArrays {
- static int makeHashCode(List a) {
- // TODO(rnystrom): This is not used by analyzer, but is called by
- // analysis_server. Move this code there and remove it from here.
- if (a == null) {
- return 0;
- }
- int result = 1;
- for (var element in a) {
- result = 31 * result + (element == null ? 0 : element.hashCode);
- }
- return result;
- }
-}
-
class JavaPatternMatcher {
Iterator<Match> _matches;
Match _match;
« no previous file with comments | « pkg/analysis_server/lib/src/services/search/search_engine.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698