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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/PackageLibraryManagerProvider.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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/PackageLibraryManagerProvider.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/PackageLibraryManagerProvider.java (revision 11101)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/PackageLibraryManagerProvider.java (working copy)
@@ -13,8 +13,8 @@
*/
package com.google.dart.tools.core.internal.model;
-import com.google.dart.compiler.SystemLibrary;
import com.google.dart.compiler.PackageLibraryManager;
+import com.google.dart.compiler.SystemLibrary;
import com.google.dart.tools.core.DartCore;
import com.google.dart.tools.core.analysis.AnalysisServer;
import com.google.dart.tools.core.analysis.index.AnalysisIndexManager;
@@ -26,8 +26,8 @@
import java.util.List;
/**
- * The class <code>SystemLibraryManagerProvider</code> manages the {@link PackageLibraryManager
- * system library managers} used by the tools.
+ * The class <code>PackageLibraryManagerProvider</code> manages the {@link PackageLibraryManager system library managers} used by
+ * the tools.
*/
public class PackageLibraryManagerProvider {
@@ -78,9 +78,8 @@
DartCore.logInformation("Reading bundled libraries from " + sdkDir);
ANY_LIBRARY_MANAGER = new PackageLibraryManager(sdkDir, "any");
- String packageRoot = DartCore.getPlugin().getPrefs().get(
- DartCore.PACKAGE_ROOT_DIR_PREFERENCE,
- "");
+ String packageRoot = DartCore.getPlugin()
+ .getPrefs().get(DartCore.PACKAGE_ROOT_DIR_PREFERENCE, "");
if (packageRoot != null && !packageRoot.isEmpty()) {
String[] roots = packageRoot.split(";");
List<File> packageRoots = new ArrayList<File>();
@@ -105,7 +104,7 @@
/**
* Return the default library manager.
*/
- public static PackageLibraryManager getSystemLibraryManager() {
+ public static PackageLibraryManager getPackageLibraryManager() {
return getAnyLibraryManager();
}
}

Powered by Google App Engine
This is Rietveld 408576698