Skip to content

Commit 4ee8c0d

Browse files
can't use annotation
1 parent 4e8319b commit 4ee8c0d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryService.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,8 @@ public static BalancingRoundSummary createBalancerRoundSummary(DesiredBalance ol
9898
/**
9999
* Creates a summary of the node weight changes from {@code oldDesiredBalance} to {@code newDesiredBalance}.
100100
* See {@link BalancingRoundSummary.NodesWeightsChanges} for content details.
101-
*
102-
* @VisibleForTesting
103101
*/
104-
protected static Map<String, BalancingRoundSummary.NodesWeightsChanges> createWeightsSummary(
102+
private static Map<String, BalancingRoundSummary.NodesWeightsChanges> createWeightsSummary(
105103
DesiredBalance oldDesiredBalance,
106104
DesiredBalance newDesiredBalance
107105
) {
@@ -167,8 +165,6 @@ protected static Map<String, BalancingRoundSummary.NodesWeightsChanges> createWe
167165
* Adds the summary of a balancing round. If summaries are enabled, this will eventually be reported (logging, etc.). If balancer round
168166
* summaries are not enabled in the cluster, then the summary is immediately discarded (so as not to fill up a data structure that will
169167
* never be drained).
170-
*
171-
* @VisibleForTesting
172168
*/
173169
public void addBalancerRoundSummary(BalancingRoundSummary summary) {
174170
if (enableBalancerRoundSummaries == false) {
@@ -271,8 +267,6 @@ private void rescheduleReporting() {
271267

272268
/**
273269
* Checks that the number of entries in {@link #summaries} matches the given {@code numberOfSummaries}.
274-
*
275-
* @VisibleForTesting
276270
*/
277271
protected void verifyNumberOfSummaries(int numberOfSummaries) {
278272
assert numberOfSummaries == summaries.size();

0 commit comments

Comments
 (0)