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

Unified Diff: editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/internal/correction/QuickFixProcessorImpl.java

Issue 250823006: Translate parts of engine.services project. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move to pkg/analysis_services/ Created 6 years, 8 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.engine.services/src/com/google/dart/engine/services/internal/correction/QuickFixProcessorImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/internal/correction/QuickFixProcessorImpl.java b/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/internal/correction/QuickFixProcessorImpl.java
index b84f08c9f48529fb9a289f66b162e37332666ef2..f1b314d4e4c2660be15ebd488dcf81400060fa6e 100644
--- a/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/internal/correction/QuickFixProcessorImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine.services/src/com/google/dart/engine/services/internal/correction/QuickFixProcessorImpl.java
@@ -324,7 +324,7 @@ public class QuickFixProcessorImpl implements QuickFixProcessor {
}
// prepare CorrectionUtils
utils = new CorrectionUtils(unit);
- node = utils.findNode(selectionOffset, AstNode.class);
+ node = utils.findNode(selectionOffset);
coveredNode = new NodeLocator(selectionOffset, selectionOffset + selectionLength).searchWithin(unit);
//
final InstrumentationBuilder instrumentation = Instrumentation.builder(this.getClass());

Powered by Google App Engine
This is Rietveld 408576698