From 7aebc6098357360df4ccbf3563bc5652dd7d61a1 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 15 May 2018 15:24:43 +1000 Subject: [PATCH] remove debug --- core/src/main/java/com/boydti/fawe/util/MainUtil.java | 3 --- .../main/java/com/sk89q/worldedit/command/OptionsCommands.java | 2 -- .../java/com/sk89q/worldedit/command/SchematicCommands.java | 2 -- .../worldedit/util/command/parametric/ParametricCallable.java | 1 - 4 files changed, 8 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/util/MainUtil.java b/core/src/main/java/com/boydti/fawe/util/MainUtil.java index c3230611..3996bcdb 100644 --- a/core/src/main/java/com/boydti/fawe/util/MainUtil.java +++ b/core/src/main/java/com/boydti/fawe/util/MainUtil.java @@ -497,10 +497,8 @@ public class MainUtil { Method method = sysclass.getDeclaredMethod("addURL", parameters); method.setAccessible(true); if (sysloader instanceof URLClassLoader) { - System.out.println("Sys loader"); method.invoke(sysloader, new Object[]{u}); } else { - System.out.println("Not sys loader"); ClassLoader loader = MainUtil.class.getClassLoader(); while (!(loader instanceof URLClassLoader) && loader.getParent() != null) { loader = loader.getParent(); @@ -509,7 +507,6 @@ public class MainUtil { method.invoke(sysloader, new Object[]{u}); } else { loader = new URLClassLoader(new URL[]{u}, MainUtil.class.getClassLoader()); - System.out.println("Loaded true"); return loader; } } diff --git a/core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java b/core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java index 0b99bfcd..d0815c07 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java +++ b/core/src/main/java/com/sk89q/worldedit/command/OptionsCommands.java @@ -113,8 +113,6 @@ public class OptionsCommands { int min = Integer.parseInt(context.getString(0)); int max = Integer.parseInt(context.getString(1)); if (min < 0 || max > 100) throw new ParameterException("Complexity must be in the range 0-100"); - - System.out.println("Clean " + min + " | " + max); if (min != 0 || max != 100) util = new CleanTextureUtil(util, min, max); randomIndex = 2; diff --git a/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java b/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java index f78eb527..b2216cc3 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java +++ b/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java @@ -600,9 +600,7 @@ public class SchematicCommands extends MethodCommands { color = "&6"; } else { color = "&a"; - System.out.println("Name " + name + " | " + name.lastIndexOf('.')); if (name.indexOf('.') != -1) name = name.substring(0, name.lastIndexOf('.')); - System.out.println(" -> " + name); } } else if (uriStr.startsWith("http://") || uriStr.startsWith("https://")) { // url diff --git a/core/src/main/java/com/sk89q/worldedit/util/command/parametric/ParametricCallable.java b/core/src/main/java/com/sk89q/worldedit/util/command/parametric/ParametricCallable.java index 7e8716a9..873ccfa2 100644 --- a/core/src/main/java/com/sk89q/worldedit/util/command/parametric/ParametricCallable.java +++ b/core/src/main/java/com/sk89q/worldedit/util/command/parametric/ParametricCallable.java @@ -256,7 +256,6 @@ public class ParametricCallable implements CommandCallable { } catch (UnconsumedParameterException e) { throw new InvalidUsageException("Too many parameters! Unused parameters: " + e.getUnconsumed(), this, true); } catch (ParameterException e) { - e.printStackTrace(); assert parameter != null; String name = parameter.getName();