Skip to content

Commit f1712bb

Browse files
committed
fix: CobolCallStackList.java
* change access modifier: public->protected
1 parent 5e9df85 commit f1712bb

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

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

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class CobolCallStackList {
88
private String name;
99

1010
/** コンストラクタ */
11-
public CobolCallStackList() {
11+
protected CobolCallStackList() {
1212
this.parent = null;
1313
this.children = null;
1414
this.sister = null;
@@ -20,7 +20,7 @@ public CobolCallStackList() {
2020
*
2121
* @param name プログラム名
2222
* */
23-
public CobolCallStackList(String name) {
23+
protected CobolCallStackList(String name) {
2424
this.parent = null;
2525
this.children = null;
2626
this.sister = null;
@@ -32,7 +32,7 @@ public CobolCallStackList(String name) {
3232
*
3333
* @return parent 親ノード
3434
*/
35-
public CobolCallStackList getParent() {
35+
protected CobolCallStackList getParent() {
3636
return parent;
3737
}
3838

@@ -41,7 +41,7 @@ public CobolCallStackList getParent() {
4141
*
4242
* @param parent 親ノード
4343
*/
44-
public void setParent(CobolCallStackList parent) {
44+
protected void setParent(CobolCallStackList parent) {
4545
this.parent = parent;
4646
}
4747

@@ -50,7 +50,7 @@ public void setParent(CobolCallStackList parent) {
5050
*
5151
* @return children 子ノード
5252
*/
53-
public CobolCallStackList getChildren() {
53+
protected CobolCallStackList getChildren() {
5454
return children;
5555
}
5656

@@ -59,7 +59,7 @@ public CobolCallStackList getChildren() {
5959
*
6060
* @param children 子ノード
6161
*/
62-
public void setChildren(CobolCallStackList children) {
62+
protected void setChildren(CobolCallStackList children) {
6363
this.children = children;
6464
}
6565

@@ -68,7 +68,7 @@ public void setChildren(CobolCallStackList children) {
6868
*
6969
* @return sister 兄弟ノード
7070
*/
71-
public CobolCallStackList getSister() {
71+
protected CobolCallStackList getSister() {
7272
return sister;
7373
}
7474

@@ -77,7 +77,7 @@ public CobolCallStackList getSister() {
7777
*
7878
* @param sister 兄弟ノード
7979
*/
80-
public void setSister(CobolCallStackList sister) {
80+
protected void setSister(CobolCallStackList sister) {
8181
this.sister = sister;
8282
}
8383

@@ -86,16 +86,7 @@ public void setSister(CobolCallStackList sister) {
8686
*
8787
* @return name プログラム名
8888
*/
89-
public String getName() {
89+
protected String getName() {
9090
return name;
9191
}
92-
93-
// /**
94-
// * プログラム名を設定する
95-
// *
96-
// * @param name
97-
// */
98-
// public void setName(String name) {
99-
// this.name = name;
100-
// }
10192
}

0 commit comments

Comments
 (0)