code polish
This commit is contained in:
parent
5bc9d2e17b
commit
1a9da06ba0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user