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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to