Fix some typos in IP module (JavaDocs, comments)

This commit is contained in:
Artem Bilan
2016-08-11 21:39:59 -04:00
parent 014ed83967
commit 28216013dd
7 changed files with 7 additions and 7 deletions

View File

@@ -420,7 +420,7 @@ public class CachingClientConnectionFactory extends AbstractClientConnectionFact
}
}
else {
/**
/*
* If the delegate is stopped, actually close the connection, but still release
* it to the pool, it will be discarded/renewed the next time it is retrieved.
*/

View File

@@ -72,7 +72,7 @@ public class ClientModeConnectionManager implements Runnable {
}
public boolean isConnected() {
return this.lastConnection == null ? false : this.lastConnection.isOpen();
return this.lastConnection != null && this.lastConnection.isOpen();
}
}

View File

@@ -53,7 +53,7 @@ public class DefaultTcpNetSSLSocketFactorySupport implements TcpSocketFactorySup
public void afterPropertiesSet() throws Exception {
this.sslContext = this.sslContextSupport.getSSLContext();
Assert.notNull(this.sslContext, "SSLContex must not be null");
Assert.notNull(this.sslContext, "SSLContext must not be null");
}
}

View File

@@ -57,7 +57,7 @@ public class DefaultTcpNioSSLConnectionSupport implements TcpNioConnectionSuppor
public void afterPropertiesSet() throws Exception {
this.sslContext = this.sslContextSupport.getSSLContext();
Assert.notNull(this.sslContext, "SSLContex must not be null");
Assert.notNull(this.sslContext, "SSLContext must not be null");
}
}

View File

@@ -53,7 +53,7 @@ public class DefaultTcpSSLContextSupport implements TcpSSLContextSupport {
* key/trust stores and passwords.
* @param keyStore A {@link Resource} pattern pointing to the keyStore.
* @param trustStore A {@link Resource} pattern pointing to the trustStore.
* @param keyStorePassword The passowrd for the keyStore.
* @param keyStorePassword The password for the keyStore.
* @param trustStorePassword The password for the trustStore.
*/
public DefaultTcpSSLContextSupport(String keyStore, String trustStore,

View File

@@ -31,7 +31,7 @@ public class MessageConvertingTcpMessageMapper extends TcpMessageMapper {
private final MessageConverter messageConverter;
public MessageConvertingTcpMessageMapper(MessageConverter messageConverter) {
Assert.notNull(messageConverter, "'messasgeConverter' must not be null");
Assert.notNull(messageConverter, "'messageConverter' must not be null");
this.messageConverter = messageConverter;
}

View File

@@ -166,7 +166,7 @@ public class TcpNioSSLConnection extends TcpNioConnection {
}
switch (result.getHandshakeStatus()) {
case FINISHED:
resumeWriterIfNeeded(); //NOSONAR - fall-through inteded
resumeWriterIfNeeded(); //NOSONAR - fall-through intended
// switch fall-through intended
case NOT_HANDSHAKING:
case NEED_UNWRAP: