summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-11-25 11:49:07 +0100
committerJon Bratseth <bratseth@gmail.com>2022-11-25 11:49:07 +0100
commit74888eb3f0d5626575f7008cf357ddeaa746b9a6 (patch)
tree2081558aeb73b856af77b055c4593c25ed0a2986 /config-model/src/main/java/com
parentc671a36ae0cd655c2efc38ee9882baa8354d660b (diff)
Cleanup and throw IllegalArgumentException on invalid path
Diffstat (limited to 'config-model/src/main/java/com')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/search/NodeSpec.java6
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;