Sonar fixes

Critical issues for `o.s.i.j*` (except `jdbc`).
This commit is contained in:
Gary Russell
2018-12-14 15:26:11 -05:00
committed by Artem Bilan
parent 89fdb938de
commit 7efe79f457
10 changed files with 51 additions and 22 deletions

View File

@@ -393,7 +393,9 @@ public class CachingClientConnectionFactory extends AbstractClientConnectionFact
private final AtomicBoolean released = new AtomicBoolean();
private CachedConnection(TcpConnectionSupport connection, @Nullable TcpListener tcpListener) {
private CachedConnection(TcpConnectionSupport connection, // NOSONAR false positive, not marked @Nullable
@Nullable TcpListener tcpListener) {
super.setTheConnection(connection);
registerListener(tcpListener);
}