aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/PluginBridge.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/PluginBridge.java b/netx/net/sourceforge/jnlp/PluginBridge.java
index 9312097..56538e7 100644
--- a/netx/net/sourceforge/jnlp/PluginBridge.java
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java
@@ -103,6 +103,12 @@ public class PluginBridge extends JNLPFile
if (jar != null && jar.length() > 0) {
this.jars = jar.split(",");
+
+ // trim white spaces
+ for (int i =0; i < this.jars.length; i++) {
+ this.jars[i] = this.jars[i].trim();
+ }
+
if (JNLPRuntime.isDebug()) {
System.err.println("Jar string: " + jar);
System.err.println("jars length: " + jars.length);