commit | dfababf679dd02af0517556b3733156d6d700de5 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Fri Dec 04 11:15:09 2015 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Fri Dec 04 11:15:09 2015 +0900 |
tree | 340edf0dca1b378af583bb75e485e2a7ad1341df | |
parent | 0e1c508fb91f6af485d369f058d5ae108ef8b308 [diff] |
MotdFileBasedConfig: Remove declaration of unthrown exception Change-Id: Ibe66ad76fb45fd80d5aa7180a7a41bd0b1273d9d
diff --git a/src/main/java/com/googlesource/gerrit/plugins/motd/MotdFileBasedConfig.java b/src/main/java/com/googlesource/gerrit/plugins/motd/MotdFileBasedConfig.java index 538465d..22d0236 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/motd/MotdFileBasedConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/motd/MotdFileBasedConfig.java
@@ -116,8 +116,7 @@ return motd; } - private static List<SubnetConfig> allSubnets(FileBasedConfig cfg) - throws ConfigInvalidException { + private static List<SubnetConfig> allSubnets(FileBasedConfig cfg) { Set<String> names = cfg.getSubsections("subnet"); List<SubnetConfig> result = Lists.newArrayListWithCapacity(names.size()); for (String name : names) {