Skip to content
Snippets Groups Projects
Commit b34cf917 authored by Ramin Yaghoubzadeh's avatar Ramin Yaghoubzadeh
Browse files

Changed UID creation to use UUIDs like python and C++

parent f8b06204
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import ipaaca.protobuf.Ipaaca.IUPayloadUpdate;
import ipaaca.protobuf.Ipaaca.LinkSet;
import ipaaca.protobuf.Ipaaca.PayloadItem;
import java.rmi.server.UID;
import java.util.UUID;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
......@@ -33,7 +33,7 @@ public class LocalIU extends AbstractIU
public LocalIU()
{
super(new UID().toString());
super(UUID.randomUUID().toString());
revision = 1;
payload = new Payload(this);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment