Readability improvements as per MDB's suggestions.
This commit is contained in:
@@ -700,10 +700,12 @@ public abstract class Getdown extends Thread
|
||||
File imgpath = null;
|
||||
try {
|
||||
// First try for a localized image.
|
||||
imgpath =
|
||||
_app.getLocalPath(path.replace(".", "_" + localeStr + "."));
|
||||
imgpath = _app.getLocalPath(path.replace(".", "_" + localeStr + "."));
|
||||
return ImageIO.read(imgpath);
|
||||
} catch (IOException ioe) {
|
||||
// No biggie, we'll try the generic one.
|
||||
}
|
||||
|
||||
// If that didn't work, try a generic one.
|
||||
try {
|
||||
imgpath = _app.getLocalPath(path);
|
||||
@@ -714,7 +716,6 @@ public abstract class Getdown extends Thread
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates the container in which our user interface will be displayed.
|
||||
|
||||
Reference in New Issue
Block a user