Mercurial > hg > Members > tatsuki > Alice
changeset 298:4fe924c9f504
remove code
author | sugi |
---|---|
date | Tue, 22 Oct 2013 20:02:15 +0900 |
parents | f51ea581b0ff |
children | 48de3510fb00 |
files | src/alice/datasegment/DataSegmentKey.java |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
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) {