Skip to content

Commit 0d8b584

Browse files
fix typo (getOrigParagragh -> getOrigParagraph) (#805)
1 parent 0812eac commit 0d8b584

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/common/CobolIntrinsic.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,12 +2138,12 @@ public static AbstractCobolField funcExceptionLocation() {
21382138
return currField;
21392139
}
21402140
if (CobolRuntimeException.getOrigSection() != null
2141-
&& CobolRuntimeException.getOrigParagragh() != null) {
2141+
&& CobolRuntimeException.getOrigParagraph() != null) {
21422142
buff =
21432143
String.format(
21442144
"%s; %s OF %s; %d",
21452145
CobolRuntimeException.getOrigProgramId(),
2146-
CobolRuntimeException.getOrigParagragh(),
2146+
CobolRuntimeException.getOrigParagraph(),
21472147
CobolRuntimeException.getOrigSection(),
21482148
CobolRuntimeException.getOrigLine());
21492149
} else if (CobolRuntimeException.getOrigSection() != null) {
@@ -2153,12 +2153,12 @@ public static AbstractCobolField funcExceptionLocation() {
21532153
CobolRuntimeException.getOrigProgramId(),
21542154
CobolRuntimeException.getOrigSection(),
21552155
CobolRuntimeException.getOrigLine());
2156-
} else if (CobolRuntimeException.getOrigParagragh() != null) {
2156+
} else if (CobolRuntimeException.getOrigParagraph() != null) {
21572157
buff =
21582158
String.format(
21592159
"%s; %s; %d",
21602160
CobolRuntimeException.getOrigProgramId(),
2161-
CobolRuntimeException.getOrigParagragh(),
2161+
CobolRuntimeException.getOrigParagraph(),
21622162
CobolRuntimeException.getOrigLine());
21632163
} else {
21642164
buff =

libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/exceptions/CobolRuntimeException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public static String getOrigSection() {
135135
*
136136
* @return エラー発生時のパラグラフ名
137137
*/
138-
public static String getOrigParagragh() {
138+
public static String getOrigParagraph() {
139139
return origParagraph;
140140
}
141141

0 commit comments

Comments
 (0)