Permalink
Browse files

fixed incorrect clone()

  • Loading branch information...
1 parent 0b88a08 commit 7347a57190f6150e15e38d52cfe2be5f979ed0a7 Bela Ban committed Jan 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jgroups/util/UUID.java
@@ -315,7 +315,7 @@ public int size() {
}
public Object clone() throws CloneNotSupportedException {
- UUID ret=new UUID(leastSigBits, mostSigBits);
+ UUID ret=new UUID(mostSigBits, leastSigBits);
if(additional_data != null) {
ret.additional_data=new byte[additional_data.length];
System.arraycopy(additional_data, 0, ret.additional_data, 0, additional_data.length);

0 comments on commit 7347a57

Please sign in to comment.