summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-16 22:43:34 -0700
committerKeith Packard <keithp@keithp.com>2011-07-16 22:43:34 -0700
commit1681c57cbbfc5214dbc2a519e54ce9f29ffe3921 (patch)
tree38c74761de6b52794692befa45ff5ab3dd9f1b89
parent0a4d934f6e2914bfe2d965630543f029a1576c11 (diff)
altosui: Remove a bunch of sitemap debugging printfs
Seems to work, let's get less chatty Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/AltosSiteMapCache.java6
-rw-r--r--altosui/AltosSiteMapPreload.java1
2 files changed, 0 insertions, 7 deletions
diff --git a/altosui/AltosSiteMapCache.java b/altosui/AltosSiteMapCache.java
index cfad52a9..2e62cc45 100644
--- a/altosui/AltosSiteMapCache.java
+++ b/altosui/AltosSiteMapCache.java
@@ -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;
diff --git a/altosui/AltosSiteMapPreload.java b/altosui/AltosSiteMapPreload.java
index 25133435..c97f081c 100644
--- a/altosui/AltosSiteMapPreload.java
+++ b/altosui/AltosSiteMapPreload.java
@@ -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;
}