| Index: compiler/java/com/google/dart/compiler/PackageLibraryManager.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/PackageLibraryManager.java (revision 12059)
|
| +++ compiler/java/com/google/dart/compiler/PackageLibraryManager.java (working copy)
|
| @@ -223,13 +223,12 @@
|
|
|
| public void setPackageRoots(List<File> roots){
|
| if (roots == null || roots.isEmpty()){
|
| - this.packageRoots = DEFAULT_PACKAGE_ROOTS;
|
| - } else {
|
| - packageRoots.clear();
|
| - for (File file : roots){
|
| - packageRoots.add(file.getAbsoluteFile());
|
| - }
|
| + roots = DEFAULT_PACKAGE_ROOTS;
|
| }
|
| + packageRoots.clear();
|
| + for (File file : roots){
|
| + packageRoots.add(file.getAbsoluteFile());
|
| + }
|
| packageRootsUri.clear();
|
| for (File file : roots){
|
| packageRootsUri.add(file.toURI());
|
|
|