summaryrefslogtreecommitdiffstats
path: root/documentapi
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2023-10-11 13:37:03 +0200
committerjonmv <venstad@gmail.com>2023-10-11 13:37:03 +0200
commit0f76f2837215f3202dab2ea1c84c53bbf5bd0e7f (patch)
treeccdbe8c07bb3bc6df6cd5e0e2d133eaf5fb4224b /documentapi
parentabac62c851c27907c7a77c6ca5c7566fdbe64b75 (diff)
Non-functional changes
Diffstat (limited to 'documentapi')
-rw-r--r--documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/AdaptiveLoadBalancer.java2
-rwxr-xr-xdocumentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/LocalServicePolicy.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/AdaptiveLoadBalancer.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/AdaptiveLoadBalancer.java
index 4a4cf0fd5c8..ae934857e2c 100644
--- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/AdaptiveLoadBalancer.java
+++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/AdaptiveLoadBalancer.java
@@ -7,7 +7,7 @@ import java.util.List;
import java.util.Random;
/**
- * Will pick 2 random candidates and select the one with least pending operations.
+ * Will pick 2 random candidates and select the one with the least pending operations.
*
* @author baldersheim
*/
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/LocalServicePolicy.java b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/LocalServicePolicy.java
index ddd04a3ca53..4f8227b35a0 100755
--- a/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/LocalServicePolicy.java
+++ b/documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/LocalServicePolicy.java
@@ -23,7 +23,7 @@ public class LocalServicePolicy implements DocumentProtocolRoutingPolicy {
private final Map<String, CacheEntry> cache = new HashMap<>();
/**
- * Constructs a policy that will choose local services that match the slobrok pattern in which this policy occured.
+ * Constructs a policy that will choose local services that match the slobrok pattern in which this policy occurred.
* If no local service can be found, this policy simply returns the asterisk to allow the network to choose any.
*
* @param param The address to use for this, if empty this will resolve to hostname.