diff options
author | Harald Musum <musum@verizonmedia.com> | 2021-04-28 08:37:17 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2021-04-28 08:37:17 +0200 |
commit | 04a5db19b3e8ef8f27e441e3c4676b64cc223c8e (patch) | |
tree | 2311f609eb1acf46c75cc0528df5425fdb090afd /config | |
parent | 50945a2b6d44ffd72ca4fb8a6e5259b4ed7acd93 (diff) |
Method should not be public
Diffstat (limited to 'config')
-rw-r--r-- | config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java b/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java index 29c05e0a83b..cc005a54054 100644 --- a/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java +++ b/config/src/main/java/com/yahoo/vespa/config/JRTConnectionPool.java @@ -80,7 +80,7 @@ public class JRTConnectionPool implements ConnectionPool { * 1. the current connection is unhealthy and should not be selected when switching * 2. There is more than 1 source. */ - public synchronized JRTConnection switchConnection() { + synchronized JRTConnection switchConnection() { if (getSources().size() <= 1) throw new IllegalStateException("Cannot switch connection, not enough sources"); List<JRTConnection> sourceCandidates = getSources().stream() |