double nextCheckPredecessorDate = initTime + Common.PERIODIC_CHECK_PREDECESSOR_DELAY;
double nextLookupDate = initTime + Common.PERIODIC_LOOKUP_DELAY;
- id = Integer.valueOf(args[0]);
- mailbox = Integer.toString(id);
+ mailbox = args[0];
+ id = Integer.parseInt(args[0]);
fingers = new int[Common.NB_BITS];
for (i = 0; i < Common.NB_BITS; i++) {
} else {
int knownId = Integer.valueOf(args[1]);
deadline = Integer.valueOf(args[3]);
- //Msg.info("Hey! Let's join the system with the id " + id + ".");
+ Msg.debug("Hey! Let's join the system with the id " + id + ".");
joinSuccess = join(knownId);
}
if (arch.matches("^i[3-6]86$"))
arch = "x86";
- else if ("x86_64".equalsIgnoreCase(arch))
- arch = "amd64";
- else if ("AMD64".equalsIgnoreCase(arch))
+ else if ("x86_64".equalsIgnoreCase(arch) || "AMD64".equalsIgnoreCase(arch))
arch = "amd64";
if (os.toLowerCase().startsWith("win")){