Mercurial > hg > Database > Alice
changeset 519:16f44f2060cc dispose
forget implement update method
author | sugi |
---|---|
date | Fri, 23 Jan 2015 14:47:02 +0900 |
parents | fc313323c53b |
children | c9175c310987 |
files | src/main/java/alice/codesegment/OutputDataSegment.java |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/codesegment/OutputDataSegment.java Thu Jan 22 16:01:32 2015 +0900 +++ b/src/main/java/alice/codesegment/OutputDataSegment.java Fri Jan 23 14:47:02 2015 +0900 @@ -36,12 +36,16 @@ public void put(String key, Object val) { ReceiveData rData = new ReceiveData(val, false, false); - DataSegment.getLocal().put(key, rData, null); + put(key, rData); + } + + public void update(String key, ReceiveData rData) { + DataSegment.getLocal().update(key, rData, null); } public void update(String key, Object val) { ReceiveData rData = new ReceiveData(val, false, false); - DataSegment.getLocal().update(key, rData, null); + update(key, rData); } /**