From 16737570b30afbe3b8699daafdcc9b8de286e5b0 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Wed, 5 Jul 2023 11:31:11 +0200 Subject: Minor refactoring and start of some new test --- vdslib/src/main/java/com/yahoo/vdslib/state/NodeState.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdslib') 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()); -- cgit v1.2.3