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

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

Issue 2324893003: Remove JavaSystem 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/source.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 59e904e50c15ee15d3e9daacad7d71f9ba940c71..074bb3ce675bf8faec50da7a7a8ddef1bc20028a 100644
--- a/pkg/analyzer/lib/src/generated/java_core.dart
+++ b/pkg/analyzer/lib/src/generated/java_core.dart
@@ -4,8 +4,6 @@
library analyzer.src.generated.java_core;
-final Stopwatch nanoTimeStopwatch = new Stopwatch();
-
/**
* Inserts the given arguments into [pattern].
*
@@ -202,19 +200,6 @@ class JavaString {
}
}
-class JavaSystem {
- static int currentTimeMillis() {
- return (new DateTime.now()).millisecondsSinceEpoch;
- }
-
- static int nanoTime() {
- if (!nanoTimeStopwatch.isRunning) {
- nanoTimeStopwatch.start();
- }
- return nanoTimeStopwatch.elapsedMicroseconds * 1000;
- }
-}
-
class PrintStringWriter extends PrintWriter {
final StringBuffer _sb = new StringBuffer();
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698