code polish

This commit is contained in:
nathan 2015-11-20 02:19:51 +01:00
parent 5bc9d2e17b
commit 1a9da06ba0

View File

@ -31,6 +31,7 @@ import java.net.URISyntaxException;
import java.net.URL;
import java.util.Enumeration;
@SuppressWarnings("unused")
public
class SwingUtil {
static {
@ -243,7 +244,7 @@ class SwingUtil {
try {
Desktop.getDesktop()
.browse(new URI(uri));
} catch (URISyntaxException ex) {
} catch (URISyntaxException ignored) {
} catch (IOException ex) {
cannotBrowse = true;
}