aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-05-27 13:05:31 +0200
committerGitHub <noreply@github.com>2018-05-27 13:05:31 +0200
commitc4f1deffdcab1a65d4aa64de840c909db929d4d4 (patch)
tree82018910c9c970d7cd3b3380621bedd2d8031b5c /config-model
parenta940c9883183a8697fc5fa389355789d1d47f5b6 (diff)
Revert "Bratseth/iterate over indexes not fields 2"
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/content/DistributorCluster.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/content/DistributorCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/content/DistributorCluster.java
index 659a07cfd5c..e60aabd24e8 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/content/DistributorCluster.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/content/DistributorCluster.java
@@ -60,7 +60,7 @@ public class DistributorCluster extends AbstractConfigProducer<Distributor> impl
return s.toString();
}
- private int getGCInterval(ModelElement documentNode) {
+ private int getGCInterval(ModelElement documentNode) throws ParseException {
int gcInterval = 3600;
if (documentNode != null) {
gcInterval = documentNode.getIntegerAttribute("garbage-collection-interval", gcInterval);