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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java

Issue 12604020: analyzer_experimental checkpoint and AnalysisContext example. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't mark Source as 'changed'. Created 7 years, 9 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/src/com/google/dart/engine/source/SourceFactory.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java
index b576e8c70f0c4c72a10bc0225a8199f97647092c..098b8e1e567d55fb5180dad38a31f606a24ec035 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java
@@ -114,7 +114,7 @@ public class SourceFactory {
public Source resolveUri(Source containingSource, String containedUri) {
try {
// Force the creation of an escaped URI to deal with spaces, etc.
- return resolveUri(containingSource, new URI(null, null, containedUri, null));
+ return resolveUri(containingSource, new URI(containedUri));
} catch (URISyntaxException exception) {
return null;
}

Powered by Google App Engine
This is Rietveld 408576698