aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-07-05 11:31:11 +0200
committerHarald Musum <musum@yahooinc.com>2023-07-05 11:31:11 +0200
commit16737570b30afbe3b8699daafdcc9b8de286e5b0 (patch)
tree329a8704915cc0500e0704f29a6957296035c976 /vdslib
parent89d23c1a2836b519001cccdcd98123153ba25653 (diff)
Minor refactoring and start of some new test
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/main/java/com/yahoo/vdslib/state/NodeState.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdslib/src/main/java/com/yahoo/vdslib/state/NodeState.java b/vdslib/src/main/java/com/yahoo/vdslib/state/NodeState.java
index 4bb27e8599e..c69b4f79aa0 100644
--- a/vdslib/src/main/java/com/yahoo/vdslib/state/NodeState.java
+++ b/vdslib/src/main/java/com/yahoo/vdslib/state/NodeState.java
@@ -41,8 +41,8 @@ public class NodeState implements Cloneable {
}
/**
- * A state can not be forced to be in a state above it's reported state.
- * For instance, a down being down, cannot be forced up, but a node being down can be forced in maintenance.
+ * A state can not be forced to be in a state above its reported state.
+ * For instance, a node being down cannot be forced to up, but a node being down can be forced to maintenance.
*/
public boolean above(NodeState other) {
return (state.ordinal() > other.state.ordinal());