GeomConverter/src/org/lcsim/util/cache
diff -u -r1.3 -r1.4
--- FileCache.java 25 Sep 2007 19:53:29 -0000 1.3
+++ FileCache.java 4 Feb 2009 00:08:54 -0000 1.4
@@ -116,12 +116,15 @@
if (out != null)
{
got += l;
- print.print("Got ");
- print.print(format.format(got));
- print.print('/');
- print.print(format.format(size));
- print.print('\r');
- print.flush();
+ if (print != null)
+ {
+ print.print("Got ");
+ print.print(format.format(got));
+ print.print('/');
+ print.print(format.format(size));
+ print.print('\r');
+ print.flush();
+ }
}
}
}