From ee0fc3b47b19cee5a3c708a5a25d2f96db82a0ed Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 27 Jul 2011 23:03:16 +0200 Subject: [PATCH] space to tabs --- .../massivecraft/factions/util/JarLoader.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/com/massivecraft/factions/util/JarLoader.java b/src/com/massivecraft/factions/util/JarLoader.java index 91afe270..a0840780 100644 --- a/src/com/massivecraft/factions/util/JarLoader.java +++ b/src/com/massivecraft/factions/util/JarLoader.java @@ -32,15 +32,15 @@ public class JarLoader { public static boolean load(URL url) { // If the file already is loaded we can skip it - for (URL otherUrl : sysloader.getURLs()) { - if (otherUrl.sameFile(url)) { - return true; - } - } - - try { - Method addURLMethod = URLClassLoader.class.getDeclaredMethod("addURL", new Class[]{ URL.class }); - addURLMethod.setAccessible(true); + for (URL otherUrl : sysloader.getURLs()) { + if (otherUrl.sameFile(url)) { + return true; + } + } + + try { + Method addURLMethod = URLClassLoader.class.getDeclaredMethod("addURL", new Class[]{ URL.class }); + addURLMethod.setAccessible(true); addURLMethod.invoke(sysloader, new Object[]{ url }); return true; } catch (Exception e) { @@ -56,4 +56,4 @@ public class JarLoader { Logger.getLogger("Minecraft").log(Level.SEVERE, "[JAR-LOADER] " + o); } -} +} \ No newline at end of file