Java 7: identical multi-catch sections

This commit is contained in:
Josh Soref committed 2019-02-20 21:56:40 -05:00
1 parent 385cfb081d
commit 345b964962
33 files changed
+40 -141

No files matched your search

@@ -95,9 +95,7 @@ public class ExtensionComponent<T> implements Comparable<ExtensionComponent<T>>
if (this.instance instanceof Descriptor && that.instance instanceof Descriptor) {
try {
return Util.fixNull(((Descriptor)this.instance).getDisplayName()).compareTo(Util.fixNull(((Descriptor)that.instance).getDisplayName()));
} catch (RuntimeException x) {
LOG.log(Level.WARNING, null, x);
} catch (LinkageError x) {
} catch (RuntimeException | LinkageError x) {
LOG.log(Level.WARNING, null, x);
}
}