Use try/multi-catch
Change-Id: Icf5042cccb0662d6bd53302800e03211af94c16d
This commit is contained in:

committed by
David Pursehouse

parent
8702786e5a
commit
64cfaf242d
@@ -115,9 +115,7 @@ class LuceneVersionManager implements LifecycleListener {
|
||||
FileBasedConfig cfg;
|
||||
try {
|
||||
cfg = loadGerritIndexConfig(sitePaths);
|
||||
} catch (ConfigInvalidException e) {
|
||||
throw fail(e);
|
||||
} catch (IOException e) {
|
||||
} catch (ConfigInvalidException | IOException e) {
|
||||
throw fail(e);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user