You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/06/29 13:34:33 UTC

svn commit: r418015 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java

Author: fhanik
Date: Thu Jun 29 04:34:32 2006
New Revision: 418015

URL: http://svn.apache.org/viewvc?rev=418015&view=rev
Log:
final touches

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java?rev=418015&r1=418014&r2=418015&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/MemberImpl.java Thu Jun 29 04:34:32 2006
@@ -462,7 +462,8 @@
     }
 
     public void setUniqueId(byte[] uniqueId) {
-        this.uniqueId = uniqueId;
+        this.uniqueId = uniqueId!=null?uniqueId:new byte[16];
+        getData(true,true);
     }
 
     public void setPayload(byte[] payload) {
@@ -472,10 +473,12 @@
 
     public void setCommand(byte[] command) {
         this.command = command!=null?command:new byte[0];
+        getData(true,true);
     }
 
     public void setDomain(byte[] domain) {
         this.domain = domain!=null?domain:new byte[0];
+        getData(true,true);
     }
 
     public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {



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