You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/02/15 11:41:54 UTC
svn commit: r507882 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/server/DefaultConnectionListener.java
Author: dims
Date: Thu Feb 15 02:41:53 2007
New Revision: 507882
URL: http://svn.apache.org/viewvc?view=rev&rev=507882
Log:
prevent NPE
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/server/DefaultConnectionListener.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/server/DefaultConnectionListener.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/server/DefaultConnectionListener.java?view=diff&rev=507882&r1=507881&r2=507882
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/server/DefaultConnectionListener.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/server/DefaultConnectionListener.java Thu Feb 15 02:41:53 2007
@@ -103,8 +103,10 @@
}
public void close() throws IOException {
- this.serversocket.close();
- }
+ if(this.serversocket != null){
+ this.serversocket.close();
+ }
+ }
public void destroy() {
this.destroyed = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org