Commit addbc93d authored by Matt Tucker's avatar Matt Tucker Committed by matt

Formatting.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1089 b35dd754-fafc-0310-a699-88a17e54d16e
parent 78cb9a8c
...@@ -39,7 +39,7 @@ class JiveClassLoader extends URLClassLoader { ...@@ -39,7 +39,7 @@ class JiveClassLoader extends URLClassLoader {
* @throws java.net.MalformedURLException if the libDir path is not valid. * @throws java.net.MalformedURLException if the libDir path is not valid.
*/ */
JiveClassLoader(ClassLoader parent, File libDir) throws MalformedURLException { JiveClassLoader(ClassLoader parent, File libDir) throws MalformedURLException {
super(new URL[]{libDir.toURL()}, parent); super(new URL[] { libDir.toURL() }, parent);
File[] jars = libDir.listFiles(new FilenameFilter() { File[] jars = libDir.listFiles(new FilenameFilter() {
public boolean accept(File dir, String name) { public boolean accept(File dir, String name) {
......
...@@ -60,18 +60,17 @@ public class ServerStarter { ...@@ -60,18 +60,17 @@ public class ServerStarter {
String libDirString = System.getProperty("messenger.lib.dir"); String libDirString = System.getProperty("messenger.lib.dir");
File libDir; File libDir;
if(libDirString != null) { if (libDirString != null) {
// if the lib directory property has been specified and it actually // If the lib directory property has been specified and it actually
// exists use it, else use the default // exists use it, else use the default
libDir = new File(libDirString); libDir = new File(libDirString);
if(!libDir.exists()) { if (!libDir.exists()) {
Log.warn("lib directory "+libDirString+ Log.warn("Lib directory " + libDirString +
" does not exist defaulting to "+DEFAULT_LIB_DIR); " does not exist. Using default " + DEFAULT_LIB_DIR);
libDir = new File(DEFAULT_LIB_DIR); libDir = new File(DEFAULT_LIB_DIR);
} }
}
} else { else {
libDir = new File(DEFAULT_LIB_DIR); libDir = new File(DEFAULT_LIB_DIR);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment