[java-idp-plugin-oidc-rp] branch main updated: Fix erroneous semicolon in if statement

Phil Smart philip.smart at jisc.ac.uk
Fri Aug 11 10:45:26 UTC 2023


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-idp-plugin-oidc-rp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-oidc-rp.git;a=commit;h=868c304fc8da3d424e7fb725cf1644529938fea7

The following commit(s) were added to refs/heads/main by this push:
     new 868c304  Fix erroneous semicolon in if statement
868c304 is described below

commit 868c304fc8da3d424e7fb725cf1644529938fea7
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Aug 11 11:45:23 2023 +0100

    Fix erroneous semicolon in if statement
---
 .../oidc/rp/audit/impl/ProxyAuthenticationFlowAuditExtractor.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/audit/impl/ProxyAuthenticationFlowAuditExtractor.java b/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/audit/impl/ProxyAuthenticationFlowAuditExtractor.java
index 661bbf2..2c86307 100644
--- a/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/audit/impl/ProxyAuthenticationFlowAuditExtractor.java
+++ b/idp-oidc-rp-impl/src/main/java/net/shibboleth/idp/plugin/authn/oidc/rp/audit/impl/ProxyAuthenticationFlowAuditExtractor.java
@@ -36,10 +36,8 @@ public class ProxyAuthenticationFlowAuditExtractor implements Function<ProfileRe
 
         if (input != null) {
             final BaseContext baseContext = input.getParent();
-            if (baseContext instanceof AuthenticationContext authnCtx) {;
-                if (authnCtx.getAttemptedFlow()!= null) {
-                    return authnCtx.getAttemptedFlow().getId();
-                }
+            if (baseContext instanceof AuthenticationContext authnCtx && authnCtx.getAttemptedFlow()!= null) {
+            	return authnCtx.getAttemptedFlow().getId();
             }
         }        
         return null;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list