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

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

Issue 10837369: fix build failure, rename refactor take 2 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
===================================================================
--- compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java (revision 11101)
+++ compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java (working copy)
@@ -25,7 +25,7 @@
private final CompilerMetrics compilerMetrics;
- private final PackageLibraryManager systemLibraryManager;
+ private final PackageLibraryManager packageLibraryManager;
/**
@@ -50,7 +50,7 @@
PackageLibraryManager libraryManager) {
this.compilerOptions = compilerOptions;
this.compilerMetrics = compilerOptions.showMetrics() ? new CompilerMetrics() : null;
- this.systemLibraryManager = libraryManager;
+ this.packageLibraryManager = libraryManager;
}
@Override
@@ -112,17 +112,17 @@
}
// Verify the dart system library exists
- if( null == this.systemLibraryManager.expandRelativeDartUri(systemUri) ) {
+ if( null == this.packageLibraryManager.expandRelativeDartUri(systemUri) ) {
return null;
}
// Ensure we are using the short form if it exists
- URI shortUri = systemLibraryManager.getShortUri(systemUri);
+ URI shortUri = packageLibraryManager.getShortUri(systemUri);
if (shortUri != null) {
systemUri = shortUri;
}
- return new UrlLibrarySource(systemUri, this.systemLibraryManager);
+ return new UrlLibrarySource(systemUri, this.packageLibraryManager);
}
@Override
@@ -136,7 +136,7 @@
}
@Override
- public PackageLibraryManager getSystemLibraryManager() {
- return systemLibraryManager;
+ public PackageLibraryManager getPackageLibraryManager() {
+ return packageLibraryManager;
}
}

Powered by Google App Engine
This is Rietveld 408576698