altosui: Remove a bunch of sitemap debugging printfs
authorKeith Packard <keithp@keithp.com>
Sun, 17 Jul 2011 05:43:34 +0000 (22:43 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 17 Jul 2011 05:43:34 +0000 (22:43 -0700)
Seems to work, let's get less chatty

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosSiteMapCache.java
altosui/AltosSiteMapPreload.java

index cfad52a9d5e3cbe7ba631c77725192afb126ed9a..2e62cc454f71fcfa27ef782bd926395e64a5dddf 100644 (file)
@@ -37,7 +37,6 @@ public class AltosSiteMapCache extends JLabel {
                try {
                        u = new URL(url);
                } catch (java.net.MalformedURLException e) {
-                       System.out.printf("Malformed URL '%s'\n", url);
                        return false;
                }
 
@@ -58,12 +57,9 @@ public class AltosSiteMapCache extends JLabel {
                        in.close();
 
                        if (offset != contentLength) {
-                               System.out.printf("Bad length %d != %d\n",
-                                                 offset, contentLength);
                                return false;
                        }
                } catch (IOException e) {
-                       System.out.printf("IO exception reading URL\n");
                        return false;
                }
 
@@ -73,13 +69,11 @@ public class AltosSiteMapCache extends JLabel {
                        out.flush();
                        out.close();
                } catch (FileNotFoundException e) {
-                       System.out.printf("Can't create file\n");
                        return false;
                } catch (IOException e) {
                        if (file.exists()) {
                                file.delete();
                        }
-                       System.out.printf("IO exception writing file\n");
                        return false;
                }
                return true;
index 25133435ca1dbc695086c43ec93629f24cd01401..c97f081c59d12eabe4b06fe5bd313ec57a2833a6 100644 (file)
@@ -145,7 +145,6 @@ public class AltosSiteMapPreload extends JDialog implements ActionListener {
 
                public updatePbar(int x, int y, String in_s) {
                        n = (x + radius) + (y + radius) * width + 1;
-                       System.out.printf("update pbar %d\n", n);
                        s = in_s;
                }