From 46430b8202c3fde3ee60f72c38c621729bac52ec Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Mon, 30 Jun 2014 13:17:53 +0000 Subject: StringBuilder message parameter was unused. --- src/java/com/jogamp/common/jvm/JNILibLoaderBase.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/java/com/jogamp') diff --git a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java index 5106a27..e845190 100644 --- a/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java +++ b/src/java/com/jogamp/common/jvm/JNILibLoaderBase.java @@ -304,9 +304,8 @@ public class JNILibLoaderBase { */ public static boolean addNativeJarLibs(Class[] classesFromJavaJars, String singleJarMarker) { - final StringBuilder msg = new StringBuilder(); - if(DEBUG) { + final StringBuilder msg = new StringBuilder(); msg.append("JNILibLoaderBase: addNativeJarLibs(\n"); msg.append(" classesFromJavaJars = ").append(Arrays.asList(classesFromJavaJars)).append("\n"); msg.append(" singleJarMarker = ").append(singleJarMarker).append("\n"); @@ -316,14 +315,14 @@ public class JNILibLoaderBase { boolean ok = false; if (TempJarCache.isInitialized()) { - ok = addNativeJarLibsWhenInitialized(classesFromJavaJars, singleJarMarker, msg); + ok = addNativeJarLibsWhenInitialized(classesFromJavaJars, singleJarMarker); } else if(DEBUG) { System.err.println("JNILibLoaderBase: addNativeJarLibs0: disabled due to uninitialized TempJarCache"); } return ok; } - private static boolean addNativeJarLibsWhenInitialized(Class[] classesFromJavaJars, String singleJarMarker, final StringBuilder msg) { + private static boolean addNativeJarLibsWhenInitialized(Class[] classesFromJavaJars, String singleJarMarker) { boolean ok; int count = 0; try { -- cgit v1.2.3