annotate src/main/java/alice/test/codesegment/api/TakeCodeSegment.java @ 467:6e304a7a60e7 dispose

remove white space
author sugi
date Sat, 22 Nov 2014 12:08:24 +0900
parents aefbe41fcf12
children 15eeb439830c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
345
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
1 package alice.test.codesegment.api;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
2
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
3 import alice.codesegment.CodeSegment;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
4 import alice.datasegment.CommandType;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
5 import alice.datasegment.Receiver;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
6
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
7 public class TakeCodeSegment extends CodeSegment {
419
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
8
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
9 Receiver ds1 = ids.create(CommandType.TAKE);
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
10
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
11 public TakeCodeSegment(String key){
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
12 this.ds1.setKey(key);
467
6e304a7a60e7 remove white space
sugi
parents: 419
diff changeset
13 }
419
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
14 @Override
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
15 public void run() {
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
16 new TakeCodeSegment(ds1.key);
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
17
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
18 }
345
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
19 }