private static URL locateResource(String resource, ResourceLoader loader) { if (loader == null) return null; try { return loader.getResource(resource); } catch (MalformedURLException ex) { LOGGER.severe(TubelineassemblyMessages.MASM_0009_CANNOT_FORM_VALID_URL(resource), ex); } return null; }
private static URL locateResource(String resource, ResourceLoader loader) { if (loader == null) return null; try { return loader.getResource(resource); } catch (MalformedURLException ex) { LOGGER.severe(TubelineassemblyMessages.MASM_0009_CANNOT_FORM_VALID_URL(resource), ex); } return null; }
private static URL locateResource(String resource, ResourceLoader loader) { if (loader == null) return null; try { return loader.getResource(resource); } catch (MalformedURLException ex) { LOGGER.severe(TubelineassemblyMessages.MASM_0009_CANNOT_FORM_VALID_URL(resource), ex); } return null; }