Mercurial > hg > Database > Alice
comparison src/main/java/alice/test/codesegment/remote/RemoteIncrement1.java @ 654:2fbd6ac705df
fix
author | suruga |
---|---|
date | Fri, 09 Feb 2018 19:48:43 +0900 |
parents | e321c5ec9b58 |
children |
comparison
equal
deleted
inserted
replaced
653:fffcbd3a3dc7 | 654:2fbd6ac705df |
---|---|
21 @Override | 21 @Override |
22 public void run() { | 22 public void run() { |
23 | 23 |
24 int num = this.num.asInteger(); | 24 int num = this.num.asInteger(); |
25 System.out.println("remote " + num++); | 25 System.out.println("remote " + num++); |
26 if (num == 5) return ; | 26 if (num == 5) { |
27 ods.finish("remote"); | |
28 ods.finish("local"); | |
29 return; | |
30 } | |
27 if ( nullValue.getVal() == null ) { | 31 if ( nullValue.getVal() == null ) { |
28 System.out.println("get remote null value"); | 32 System.out.println("get remote null value"); |
29 } | 33 } |
30 | 34 |
31 ods.put("remote","remote-null-value", ValueFactory.createNilValue()); | 35 ods.put("remote","remote-null-value", ValueFactory.createNilValue()); |