equal
deleted
inserted
replaced
908 StandardLocation.UPGRADE_MODULE_PATH, |
908 StandardLocation.UPGRADE_MODULE_PATH, |
909 StandardLocation.SYSTEM_MODULES, |
909 StandardLocation.SYSTEM_MODULES, |
910 StandardLocation.MODULE_PATH |
910 StandardLocation.MODULE_PATH |
911 }; |
911 }; |
912 for (Location segment: locns) { |
912 for (Location segment: locns) { |
913 for (Set<Location> set: fileManager.listModuleLocations(segment)) { |
913 for (Set<Location> set: fileManager.listLocationsForModules(segment)) { |
914 Location result = null; |
914 Location result = null; |
915 for (Location l: set) { |
915 for (Location l: set) { |
916 String name = fileManager.inferModuleName(l); |
916 String name = fileManager.inferModuleName(l); |
917 if (name.equals(moduleName)) { |
917 if (name.equals(moduleName)) { |
918 if (result == null) |
918 if (result == null) |