We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff62a26 commit 4664d14Copy full SHA for 4664d14
src/test/java/org/jgroups/ping/kube/test/util/FreePortFinder.java
@@ -4,7 +4,9 @@
4
5
public class FreePortFinder {
6
7
- public static int DEFAULT_PORT = 13256;
+ private static final int DEFAULT_PORT = 13256;
8
+
9
+ private FreePortFinder() { }
10
11
public static int findFreePort() {
12
try (ServerSocket socket = new ServerSocket(0)) {
0 commit comments