f = f.getParentFile();\r
}\r
} catch (URISyntaxException e) {\r
- String message = "Could not find resources path! Problems locating PropertyHelperManager class! " + e.getLocalizedMessage();\r
- log.error(message, e.getCause());\r
- throw new RuntimeException(message, e.getCause());\r
+ String mes = "Could not find resources path! Problems locating PropertyHelperManager class! ";\r
+ log.error(mes + e.getLocalizedMessage(), e.getCause());\r
+ throw new RuntimeException(mes + e.getLocalizedMessage(), e.getCause());\r
} catch (IllegalArgumentException e) {\r
// Classes are in the jar file, using different method to determine\r
// the path new File(INCORRECT URL) throws it\r
- log.debug(\r
- "It looks like classes are in the jar file. "\r
- + "Attempting a different method to determinine the path to the resources "\r
- + e.getLocalizedMessage(), e.getCause());\r
+ String mes = "It looks like classes are in the jar file. " \r
+ + "Attempting a different method to determinine the path to the resources";\r
+ log.debug(mes + e.getLocalizedMessage(), e.getCause());\r
try {\r
- f = new File(PropertyHelperManager.class.getProtectionDomain()\r
- .getCodeSource().getLocation().toURI().getPath());\r
+ f = new File(PropertyHelperManager.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());\r
\r
// Iterate up the hierarchy to find a root project directory\r
// This time there is not need to walk up all class packages\r