aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-05-21 15:50:10 +0200
committerJiri Vanek <[email protected]>2012-05-21 15:50:10 +0200
commit17a23e2ea846e7d7460ecb71a1d375b0244148cf (patch)
treedf0508dca717d94c64b6bc93c65144e8813d39dc /netx/net/sourceforge
parent2e03a3ed2358fcdcba03b1a0536197e9510a4a7e (diff)
Fixed output to be printed just in case of debug mode
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r--netx/net/sourceforge/jnlp/cache/ResourceTracker.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/cache/ResourceTracker.java b/netx/net/sourceforge/jnlp/cache/ResourceTracker.java
index db05177..bc46947 100644
--- a/netx/net/sourceforge/jnlp/cache/ResourceTracker.java
+++ b/netx/net/sourceforge/jnlp/cache/ResourceTracker.java
@@ -1218,7 +1218,9 @@ public class ResourceTracker {
}
return u;
} else {
- System.out.println(normalized + " chunks normalized, rejoining url");
+ if (debug) {
+ System.out.println(normalized + " chunks normalized, rejoining url");
+ }
}
StringBuilder composed = new StringBuilder("");
for (int i = 0; i < ss.length; i++) {