summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0a4d934)
Seems to work, let's get less chatty
Signed-off-by: Keith Packard <keithp@keithp.com>
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);
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");
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;
public updatePbar(int x, int y, String in_s) {
n = (x + radius) + (y + radius) * width + 1;
public updatePbar(int x, int y, String in_s) {
n = (x + radius) + (y + radius) * width + 1;
- System.out.printf("update pbar %d\n", n);