commit | bf79f894a59412b455e206ceb76a2671fae5cd71 | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Sun Feb 12 22:30:01 2017 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Sun Feb 12 22:30:11 2017 +0000 |
tree | a45d38ebfa181ab0e725d985cfb1d9c662ab0570 | |
parent | 1a32786027b1ab81ea1080c629f6a4cbbc465126 [diff] |
Use throw in catch block Change-Id: I5d77ce45ef25e034b4f3c1b10fcd437665e1e3f1
diff --git a/src/main/java/com/googlesource/gerrit/plugins/web/WebPluginScanner.java b/src/main/java/com/googlesource/gerrit/plugins/web/WebPluginScanner.java index 2a8815c..130750a 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/web/WebPluginScanner.java +++ b/src/main/java/com/googlesource/gerrit/plugins/web/WebPluginScanner.java
@@ -122,7 +122,7 @@ } }); } catch (IOException e) { - new IllegalArgumentException("Cannot scan resource files in plugin", e); + throw new IllegalArgumentException("Cannot scan resource files in plugin", e); } return Collections.enumeration(resourcesList); }