projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn off auto-tagging during Debian build
[fw/altos]
/
altosui
/
AltosSiteMapCache.java
diff --git
a/altosui/AltosSiteMapCache.java
b/altosui/AltosSiteMapCache.java
index cfad52a9d5e3cbe7ba631c77725192afb126ed9a..2e62cc454f71fcfa27ef782bd926395e64a5dddf 100644
(file)
--- 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) {
try {
u = new URL(url);
} catch (java.net.MalformedURLException e) {
- System.out.printf("Malformed URL '%s'\n", url);
return false;
}
return false;
}
@@
-58,12
+57,9
@@
public class AltosSiteMapCache extends JLabel {
in.close();
if (offset != contentLength) {
in.close();
if (offset != contentLength) {
- System.out.printf("Bad length %d != %d\n",
- offset, contentLength);
return false;
}
} catch (IOException e) {
return false;
}
} catch (IOException e) {
- System.out.printf("IO exception reading URL\n");
return false;
}
return false;
}
@@
-73,13
+69,11
@@
public class AltosSiteMapCache extends JLabel {
out.flush();
out.close();
} catch (FileNotFoundException e) {
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();
}
return false;
} catch (IOException e) {
if (file.exists()) {
file.delete();
}
- System.out.printf("IO exception writing file\n");
return false;
}
return true;
return false;
}
return true;