/hg/icedtea-web: Fixed output to be printed just in case of debu...

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Mon May 21 06:47:14 PDT 2012


changeset a4691eecb5be in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=a4691eecb5be
author: Jiri Vanek <jvanek at redhat.com>
date: Mon May 21 15:50:10 2012 +0200

	Fixed output to be printed just in case of debug mode


diffstat:

 netx/net/sourceforge/jnlp/cache/ResourceTracker.java |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 3d01ef4139f4 -r a4691eecb5be netx/net/sourceforge/jnlp/cache/ResourceTracker.java
--- a/netx/net/sourceforge/jnlp/cache/ResourceTracker.java	Fri May 18 16:23:30 2012 +0200
+++ b/netx/net/sourceforge/jnlp/cache/ResourceTracker.java	Mon May 21 15:50:10 2012 +0200
@@ -1218,7 +1218,9 @@
             }
             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++) {



More information about the distro-pkg-dev mailing list