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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java

Issue 575163002: Remove watchdog from RemoteAnalysisServerImpl (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java
index 21e3b77f764e957961e72c1268d08c9ff4af623d..62651b35fcacfbcd79a0c6438faa486dc624c3c7 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImpl.java
@@ -445,9 +445,9 @@ public class RemoteAnalysisServerImpl implements AnalysisServer {
}
@Override
- public void start(long millisToRestart) throws Exception {
+ public void start() throws Exception {
startServer();
- startWatcher(millisToRestart);
+ //startWatcher(millisToRestart);
}
@VisibleForTesting
@@ -659,6 +659,7 @@ public class RemoteAnalysisServerImpl implements AnalysisServer {
}
}
+ @SuppressWarnings("unused")
private void startWatcher(final long millisToRestart) {
if (millisToRestart <= 0 || watcher != null) {
return;

Powered by Google App Engine
This is Rietveld 408576698