forked from I2P_Developers/i2p.i2p
more misc findbugs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user