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

Unified Diff: compiler/java/com/google/dart/compiler/UrlDartSource.java

Issue 8322016: Always use / with URI (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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 | « compiler/java/com/google/dart/compiler/SystemLibrary.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/UrlDartSource.java
diff --git a/compiler/java/com/google/dart/compiler/UrlDartSource.java b/compiler/java/com/google/dart/compiler/UrlDartSource.java
index 8d0913b22b91180e4ae3dde0bff5a3ffcca85083..80e3e8374a954b0b2d80b6647b74a621e5e8cef4 100644
--- a/compiler/java/com/google/dart/compiler/UrlDartSource.java
+++ b/compiler/java/com/google/dart/compiler/UrlDartSource.java
@@ -41,7 +41,7 @@ public class UrlDartSource extends UrlSource implements DartSource {
public String getName() {
try {
String uriSafeName = new URI(null, null, relPath, null).toString();
- return lib.getName() + File.separatorChar + uriSafeName;
+ return lib.getName() + "/" + uriSafeName;
} catch (URISyntaxException e) {
throw new AssertionError(e);
}
« no previous file with comments | « compiler/java/com/google/dart/compiler/SystemLibrary.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698