Merge pull request #856 from 0xbaadf00d/feature/identical-catch

Change identical 'catch' statements
This commit is contained in:
Rob Bygrave authored and GitHub committed 2016-11-06 22:42:13 +13:00
commit a4922a5b1d
3 files changed
+5 -18

No files matched your search

@@ -163,11 +163,7 @@ public class TestPropertyChangeSupport extends EbeanTestCase implements Property
Method apcs = al.getClass().getMethod("addPropertyChangeListener", PropertyChangeListener.class);
apcs.invoke(al, listener);
} catch (NoSuchMethodException e) {
throw new RuntimeException(e);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
} catch (InvocationTargetException e) {
} catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException e) {
throw new RuntimeException(e);
}
}