AMQ-1967 - fix: SslTransportServerTest, check for null transportOptions

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@702447 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-10-07 12:01:03 +00:00
parent 3fe7760e4a
commit f8071a34a4
1 changed files with 3 additions and 1 deletions

View File

@ -158,7 +158,9 @@ public class TcpTransportServer extends TransportServerThreadSupport implements
private void configureServerSocket(ServerSocket socket) throws SocketException {
socket.setSoTimeout(2000);
IntrospectionSupport.setProperties(socket, transportOptions);
if (transportOptions != null) {
IntrospectionSupport.setProperties(socket, transportOptions);
}
}
/**