Skip to content

Commit 92c72c6

Browse files
committed
Fix errorCode var name.
(cherry picked from commit 2e9f765)
1 parent 865d97b commit 92c72c6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

common/src/main/java/com/genexus/internet/GXHttpClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,8 +722,8 @@ protected void setExceptionsCatch(Exception e) {
722722
setExceptionsCatch(ERROR_IO, e);
723723
}
724724

725-
protected void setExceptionsCatch(int ErrorType, Exception e) {
726-
setErrCode(ErrorType);
725+
protected void setExceptionsCatch(int errorCode, Exception e) {
726+
setErrCode(errorCode);
727727
setErrDescription(e.getMessage());
728728
}
729729

java/src/main/java/com/genexus/internet/HttpClientJavaLib.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,8 @@ public void execute(String method, String url) {
686686
}
687687
}
688688

689-
private void setExecuteExceptionsCatch(int ErrorType, Exception e) {
690-
setExceptionsCatch(ErrorType, e);
689+
private void setExecuteExceptionsCatch(int errorCode, Exception e) {
690+
setExceptionsCatch(errorCode, e);
691691
this.statusCode = 0;
692692
this.reasonLine = "";
693693
logger.error("Execute error: " + e.getMessage(), e);

0 commit comments

Comments
 (0)