Update application interceptor

Clean code
This commit is contained in:
Salman Manoe 2024-02-02 13:46:35 +07:00
parent f6d6a2faf5
commit 213806d581
9 changed files with 9 additions and 9 deletions

View File

@ -295,7 +295,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -296,7 +296,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -295,7 +295,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -295,7 +295,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -296,7 +296,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -295,7 +295,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -295,7 +295,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -296,7 +296,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)

View File

@ -295,7 +295,7 @@ public class AppInterceptor implements HandlerInterceptor {
try {
ruanganAsalId = Integer.parseInt(KdRuangan);
} catch (NumberFormatException e) {
ruanganAsalId = null;
ruanganAsalId = 0;
}
boolean adaError = CommonUtil.isNotNullOrEmpty(ex);
if (notHttpOK || notLewatMenu || adaError)