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 /hosted-zone-api | |
parent | c671a36ae0cd655c2efc38ee9882baa8354d660b (diff) |
Cleanup and throw IllegalArgumentException on invalid path
Diffstat (limited to 'hosted-zone-api')
-rw-r--r-- | hosted-zone-api/src/main/java/ai/vespa/cloud/Node.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hosted-zone-api/src/main/java/ai/vespa/cloud/Node.java b/hosted-zone-api/src/main/java/ai/vespa/cloud/Node.java index f745bc29f1e..06c62957520 100644 --- a/hosted-zone-api/src/main/java/ai/vespa/cloud/Node.java +++ b/hosted-zone-api/src/main/java/ai/vespa/cloud/Node.java @@ -16,8 +16,10 @@ public class Node { this.index = index; } - /** Returns the unique index for this node in the cluster. - * Indices are non-negative, but not necessarily contiguous or starting from zero. */ + /** + * Returns the unique index of this node in the cluster. + * Indices are non-negative, but not necessarily contiguous or starting from zero. + */ public int index() { return index; } @Override |