Code Polishing (Sonar)
- remove redundant modifiers - overridable methods called from ctors Polishing - PR Comments
This commit is contained in:
committed by
Artem Bilan
parent
ddb4321e1d
commit
255247ca9a
@@ -284,7 +284,7 @@ public class TcpOutboundGateway extends AbstractReplyProducingMessageHandler
|
||||
|
||||
private volatile Message<?> reply;
|
||||
|
||||
public AsyncReply(long remoteTimeout) {
|
||||
private AsyncReply(long remoteTimeout) {
|
||||
this.latch = new CountDownLatch(1);
|
||||
this.secondChanceLatch = new CountDownLatch(1);
|
||||
this.remoteTimeout = remoteTimeout;
|
||||
|
||||
@@ -139,7 +139,7 @@ public class CachingClientConnectionFactory extends AbstractClientConnectionFact
|
||||
|
||||
private volatile boolean released;
|
||||
|
||||
public CachedConnection(TcpConnectionSupport connection, TcpListener tcpListener) {
|
||||
private CachedConnection(TcpConnectionSupport connection, TcpListener tcpListener) {
|
||||
super.setTheConnection(connection);
|
||||
registerListener(tcpListener);
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ public class FailoverClientConnectionFactory extends AbstractClientConnectionFac
|
||||
|
||||
private final AtomicLong epoch = new AtomicLong();
|
||||
|
||||
public FailoverTcpConnection(List<AbstractClientConnectionFactory> factories) throws Exception {
|
||||
private FailoverTcpConnection(List<AbstractClientConnectionFactory> factories) throws Exception {
|
||||
this.factories = factories;
|
||||
this.factoryIterator = factories.iterator();
|
||||
findAConnection();
|
||||
|
||||
@@ -281,7 +281,7 @@ public class TcpNioSSLConnection extends TcpNioConnection {
|
||||
|
||||
private final ChannelOutputStream channelOutputStream;
|
||||
|
||||
public SSLChannelOutputStream(ChannelOutputStream channelOutputStream) {
|
||||
private SSLChannelOutputStream(ChannelOutputStream channelOutputStream) {
|
||||
this.channelOutputStream = channelOutputStream;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user