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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java

Issue 156763002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java
diff --git a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java
index 07b41de1b22f94107f25a32289c3a99ad0e28a73..d7fbfffcff82116e74940cc489fa2c0c2db233bd 100644
--- a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java
+++ b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java
@@ -592,7 +592,7 @@ public class EngineSemanticProcessor extends SemanticProcessor {
ExpressionStatement statement = expressionStatement(methodInvocation(
receiverIdent,
"accept",
- methodInvocation(identifier("file"), "readAsCharSequenceSync"),
+ methodInvocation(identifier("file"), "readAsStringSync"),
methodInvocation(identifier("file"), "lastModified")));
node.setBody(blockFunctionBody(tryCacheBlock, statement));
return null;

Powered by Google App Engine
This is Rietveld 408576698