more misc findbugs

This commit is contained in:
zzz
2011-07-08 17:54:57 +00:00
parent 9d4cc26890
commit 44f4e551b7
6 changed files with 13 additions and 11 deletions

View File

@@ -225,7 +225,8 @@ public class UrlLauncher {
private boolean validateUrlFormat(String urlString) {
try {
URL url = new URL(urlString);
// just to check validity
new URL(urlString);
} catch (MalformedURLException e) {
return false;
}