summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Raynsford <[email protected]>2014-06-30 13:17:53 +0000
committerMark Raynsford <[email protected]>2014-06-30 13:17:53 +0000
commit46430b8202c3fde3ee60f72c38c621729bac52ec (patch)
treef1445952340b5c8e1aa182c04249355e7c3965b1
parent46faa59d439ef235d7691fc64d56eedc600ffa1a (diff)
StringBuilder message parameter was unused.
-rw-r--r--src/java/com/jogamp/common/jvm/JNILibLoaderBase.java7
1 files changed, 3 insertions, 4 deletions
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 {