summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-05-05 11:32:48 +0200
committerJon Bratseth <bratseth@gmail.com>2022-05-05 11:32:48 +0200
commitce8e0f1425667f487182539cd9922a0cbb15133f (patch)
tree67114834d30ed75317359e8ee76ddadb10a22139 /container-core
parenta6f4bcefc08cb924b179cc1eadd9b2f95f2ffab1 (diff)
Refactor tests
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/java/com/yahoo/container/handler/Coverage.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/handler/Coverage.java b/container-core/src/main/java/com/yahoo/container/handler/Coverage.java
index 00c3a1d1aae..95494190734 100644
--- a/container-core/src/main/java/com/yahoo/container/handler/Coverage.java
+++ b/container-core/src/main/java/com/yahoo/container/handler/Coverage.java
@@ -47,7 +47,7 @@ public class Coverage {
protected Coverage(long docs, int nodes, boolean full, int resultSets) {
this(docs, docs, nodes, resultSets, full ? FullCoverageDefinition.EXPLICITLY_FULL
- : FullCoverageDefinition.EXPLICITLY_INCOMPLETE);
+ : FullCoverageDefinition.EXPLICITLY_INCOMPLETE);
}
private Coverage(long docs, long active, int nodes, int resultSets, FullCoverageDefinition fullReason) {
@@ -168,9 +168,8 @@ public class Coverage {
}
/**
- * An int between 0 (inclusive) and 100 (inclusive) representing how many
- * percent coverage the result sets this Coverage instance contains information
- * about had.
+ * An int between 0 (inclusive) and 100 (inclusive) representing the
+ * percent coverage of the result sets this instance contains information about.
*/
public int getResultPercentage() {
if (getResultSets() == 0) {