diff options
author | lalber <lukas.alber@iaik.tugraz.at> | 2020-11-25 23:40:02 +0100 |
---|---|---|
committer | lalber <lukas.alber@iaik.tugraz.at> | 2020-11-25 23:40:02 +0100 |
commit | 55293ac742add5ec5143c1391f6e4d4bfbe0258b (patch) | |
tree | 4cc3a1566a5d6d27557302f3f894f03d0259e570 | |
parent | 2c8d2e81c99615bd1f57fd19f18f1ce3e6d7efed (diff) | |
download | EAAF-Components-55293ac742add5ec5143c1391f6e4d4bfbe0258b.tar.gz EAAF-Components-55293ac742add5ec5143c1391f6e4d4bfbe0258b.tar.bz2 EAAF-Components-55293ac742add5ec5143c1391f6e4d4bfbe0258b.zip |
simplifications for passing checks for install
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java index 8c258a14..5828cb81 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java @@ -385,7 +385,7 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer // extract internal exception Throwable toLog; if (loggedException instanceof TaskExecutionException) { - toLog = ((TaskExecutionException)loggedException); + toLog = (TaskExecutionException)loggedException; } else { toLog = loggedException; @@ -398,8 +398,7 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer toLog.getMessage(), toLog); } else { - if (toLog instanceof EaafException - && logOnInfoLevel.contains(((EaafException) toLog).getErrorId())) { + if (logOnInfoLevel.contains(((EaafException) toLog).getErrorId())) { log.info(TECH_LOG_MSG, ((EaafException) toLog).getErrorId(), toLog.getMessage(), toLog); |