Skip to content

Commit

Permalink
fixed incorrect clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jan 24, 2011
1 parent 0b88a08 commit 7347a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jgroups/util/UUID.java
Expand Up @@ -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);
Expand Down

0 comments on commit 7347a57

Please sign in to comment.