@@ -168,24 +168,14 @@ private static synchronized Map<String, String> loadScripts(String domainNamespa
168
168
LOGGER .warning (MessageKeys .EXCEPTION , e );
169
169
throw new RuntimeException (e );
170
170
}
171
- LOGGER .warning ("xyz- loadScripts() domainNamespace:" + domainNamespace + ", uri is " + uri + ", scheme=" + uri .getScheme ());
172
171
try {
173
172
if ("jar" .equals (uri .getScheme ())) {
174
173
try (FileSystem fileSystem = FileSystems .newFileSystem (uri , Collections .<String , Object >emptyMap ())) {
175
- LOGGER .warning ("xyz- walkScriptsPath for domainNamespace=" + domainNamespace + ", fileSystem=" + fileSystem );
176
174
return walkScriptsPath (fileSystem .getPath (SCRIPTS ), domainNamespace );
177
175
}
178
176
} else {
179
177
return walkScriptsPath (Paths .get (uri ), domainNamespace );
180
178
}
181
- // } catch (FileSystemAlreadyExistsException ale) {
182
- // LOGGER.warning(MessageKeys.EXCEPTION, new IOException("xyz-FileSystemAlreadyExistsException uri is " + uri));
183
- // try (FileSystem fileSystem = FileSystems.getFileSystem(uri)) {
184
- // LOGGER.warning(MessageKeys.EXCEPTION, new IOException("xyz-FileSystem " + fileSystem + ", isOpen()=" + fileSystem.isOpen()));
185
- // return walkScriptsPath(fileSystem.getPath(SCRIPTS));
186
- // } catch(IOException e) {
187
- // throw new RuntimeException(e);
188
- // }
189
179
} catch (IOException e ) {
190
180
LOGGER .warning (MessageKeys .EXCEPTION , new FileAlreadyExistsException ("xyz- uri," + uri ));
191
181
LOGGER .warning (MessageKeys .EXCEPTION , e );
0 commit comments