Skip to content

Commit 44a66c1

Browse files
committed
Make ServerDeprioritization private.
1 parent 021e7f5 commit 44a66c1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

driver-core/src/main/com/mongodb/internal/connection/OperationContext.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ public static final class ServerDeprioritization {
237237
private ServerAddress candidate;
238238
private final Set<ServerAddress> deprioritized;
239239

240-
@VisibleForTesting(otherwise = PRIVATE)
241-
public ServerDeprioritization() {
240+
private ServerDeprioritization() {
242241
candidate = null;
243242
deprioritized = new HashSet<>();
244243
}

0 commit comments

Comments
 (0)