Skip to content

Commit dc35b69

Browse files
committed
fix: add javadoc to CobolCallStackList.java
1 parent e4633c4 commit dc35b69

File tree

2 files changed

+43
-5
lines changed

2 files changed

+43
-5
lines changed

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/call/CobolCallStackList.java

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,75 @@ public CobolCallStackList(String name) {
2222
this.name = name;
2323
}
2424

25+
/**
26+
* 親ノードを取得する
27+
*
28+
* @return 親ノード
29+
*/
2530
public CobolCallStackList getParent() {
2631
return parent;
2732
}
2833

34+
/**
35+
* 親ノードを設定する
36+
*
37+
* @param parent
38+
*/
2939
public void setParent(CobolCallStackList parent) {
3040
this.parent = parent;
3141
}
3242

43+
/**
44+
* 子ノードを取得する
45+
*
46+
* @return
47+
*/
3348
public CobolCallStackList getChildren() {
3449
return children;
3550
}
3651

52+
/**
53+
* 子ノードを設定する
54+
*
55+
* @param children
56+
*/
3757
public void setChildren(CobolCallStackList children) {
3858
this.children = children;
3959
}
4060

61+
/**
62+
* 兄弟ノードを取得する
63+
*
64+
* @return
65+
*/
4166
public CobolCallStackList getSister() {
4267
return sister;
4368
}
4469

70+
/**
71+
* 兄弟ノードを設定する
72+
*
73+
* @param sister
74+
*/
4575
public void setSister(CobolCallStackList sister) {
4676
this.sister = sister;
4777
}
4878

79+
/**
80+
* プログラム名を取得する
81+
*
82+
* @return name プログラム名
83+
*/
4984
public String getName() {
5085
return name;
5186
}
5287

53-
public void setName(String name) {
54-
this.name = name;
55-
}
88+
/**
89+
* プログラム名を設定する
90+
*
91+
* @param name
92+
*/
93+
// public void setName(String name) {
94+
// this.name = name;
95+
// }
5696
}

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/call/CobolResolve.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,6 @@ public static void cancelAll() throws CobolRuntimeException {
643643
throw new CobolRuntimeException(
644644
CobolRuntimeException.COBOL_FATAL_ERROR,
645645
"Call to 'cancelAll' current stack is NULL");
646-
// initCallStackList();
647-
// return;
648646
}
649647
cancelCallStackList(currentCallStackList.getChildren());
650648
}

0 commit comments

Comments
 (0)