axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r595249 - /webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/AckManager.java
Date Thu, 15 Nov 2007 09:06:09 GMT
Author: azeez
Date: Thu Nov 15 01:06:09 2007
New Revision: 595249

URL: http://svn.apache.org/viewvc?rev=595249&view=rev
Log:
NullCheck


Modified:
    webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/AckManager.java

Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/AckManager.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/AckManager.java?rev=595249&r1=595248&r2=595249&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/AckManager.java
(original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/AckManager.java
Thu Nov 15 01:06:09 2007
@@ -59,6 +59,9 @@
                                                 ChannelSender sender) throws ClusteringFault
{
 
         boolean isAcknowledged = false;
+        if(messageUniqueId == null){
+            return true;
+        }
         MessageACK ack = (MessageACK) messageAckTable.get(messageUniqueId);
         if(ack == null){  // If the message is not found, treat it as ACKed
             return true;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message