ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatf...@apache.org
Subject svn commit: r682364 - /webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
Date Mon, 04 Aug 2008 12:39:34 GMT
Author: gatfora
Date: Mon Aug  4 05:39:33 2008
New Revision: 682364

URL: http://svn.apache.org/viewvc?rev=682364&view=rev
Log:
Only copy RangeString in RMSBean copy constructor if it is not null

Modified:
    webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java

Modified: webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java?rev=682364&r1=682363&r2=682364&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
(original)
+++ webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/storage/beans/RMSBean.java
Mon Aug  4 05:39:33 2008
@@ -174,7 +174,8 @@
 	public RMSBean(RMSBean beanToCopy) {
 		super(beanToCopy);
 		 anonymousUUID = beanToCopy.getAnonymousUUID();
-		 clientCompletedMessages = new RangeString(beanToCopy.getClientCompletedMessages());
+		 if (beanToCopy.getClientCompletedMessages() != null)
+			 clientCompletedMessages = new RangeString(beanToCopy.getClientCompletedMessages());
 		 createSeqMsgID = beanToCopy.getCreateSeqMsgID();
 		 createSequenceMsgStoreKey = beanToCopy.getCreateSequenceMsgStoreKey();
 		 expectedReplies = beanToCopy.getExpectedReplies();



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


Mime
View raw message