Mercurial > hg > Database > Alice
diff src/alice/datasegment/DataSegmentKey.java @ 298:4fe924c9f504
remove code
author | sugi |
---|---|
date | Tue, 22 Oct 2013 20:02:15 +0900 |
parents | 88be2824a989 |
children | a8255a831ade |
line wrap: on
line diff
--- a/src/alice/datasegment/DataSegmentKey.java Tue Oct 22 17:09:04 2013 +0900 +++ b/src/alice/datasegment/DataSegmentKey.java Tue Oct 22 20:02:15 2013 +0900 @@ -85,7 +85,6 @@ public void replyValue(Command cmd, DataSegmentValue data){ if (cmd.cs!=null){ // if cmd has cs-instance, it means Command from local. cmd.cs.ids.reply(cmd.receiver, new Command(CommandType.REPLY, null, null, data.val, data.obj, data.index, cmd.seq, null, null, data.from)); - cmd = null; // someone has been holding instance. } else { try { if (!cmd.flag){ @@ -93,7 +92,6 @@ } else { cmd.connection.write(new Command(CommandType.REPLY, null, null, data.val, data.obj, data.index, cmd.seq, null, null, data.from)); - cmd = null; } } catch (InterruptedException e) {