Skip to content

Commit

Permalink
Made some funcitons private
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Oct 3, 2023
1 parent 12c6d7b commit b6b7d2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ private static Tuple<Decision, Map<String, NodeAllocationResult>> canBeAllocated
* Takes the store info for nodes that have a shard store and adds them to the node decisions,
* leaving the node explanations untouched for those nodes that do not have any store information.
*/
public static List<NodeAllocationResult> augmentExplanationsWithStoreInfo(
private static List<NodeAllocationResult> augmentExplanationsWithStoreInfo(
Map<String, NodeAllocationResult> nodeDecisions,
Map<String, NodeAllocationResult> withShardStores
) {
Expand Down Expand Up @@ -499,7 +499,7 @@ private static boolean canPerformOperationBasedRecovery(
*/
protected abstract boolean hasInitiatedFetching(ShardRouting shard);

public static class MatchingNode {
private static class MatchingNode {
static final Comparator<MatchingNode> COMPARATOR = Comparator.<MatchingNode, Boolean>comparing(m -> m.isNoopRecovery)
.thenComparing(m -> m.retainingSeqNo)
.thenComparing(m -> m.matchingBytes);
Expand Down

0 comments on commit b6b7d2f

Please sign in to comment.