diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-11-25 11:49:07 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-11-25 11:49:07 +0100 |
commit | 74888eb3f0d5626575f7008cf357ddeaa746b9a6 (patch) | |
tree | 2081558aeb73b856af77b055c4593c25ed0a2986 /config-model/src | |
parent | c671a36ae0cd655c2efc38ee9882baa8354d660b (diff) |
Cleanup and throw IllegalArgumentException on invalid path
Diffstat (limited to 'config-model/src')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java index bd8191ccdea..295bb069641 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java @@ -24,8 +24,8 @@ public class NodeSpec { /** * Returns an index of the group of this node. - * This is a 0-base continuous integer id, not necessarily the same as the group id assigned by the user - * or node repo. + * This is a 0-base continuous integer id, not necessarily the same as the group id assigned by the + * application/node repo. * This index is called a "row id" in some places in Vespa for historical reasons. */ public int groupIndex() { @@ -34,7 +34,7 @@ public class NodeSpec { /** * Returns the partition id of this, which is also a contiguous integer id, not necessarily - * the same as the group id assigned by the user or node repo. + * the same as the group id assigned by the application/node repo. */ public int partitionId() { return partitionId; |