[java-idp-oidc] branch main updated: Fix more bad annotations.

Scott Cantor cantor.2 at osu.edu
Tue Aug 1 15:48:50 UTC 2023


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

scantor pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=8fd6eb5d8cb3a32f2d5ffcd530906dc1b26f6891

The following commit(s) were added to refs/heads/main by this push:
     new 8fd6eb5d Fix more bad annotations.
8fd6eb5d is described below

commit 8fd6eb5d8cb3a32f2d5ffcd530906dc1b26f6891
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 1 11:48:47 2023 -0400

    Fix more bad annotations.
---
 .../idp/plugin/oidc/op/cli/IssueRegistrationAccessTokenArguments.java   | 2 +-
 .../oidc/op/profile/impl/AddTokenDeliveryAttributesToClaimsSet.java     | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/cli/IssueRegistrationAccessTokenArguments.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/cli/IssueRegistrationAccessTokenArguments.java
index a72f0cf6..6ce28c98 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/cli/IssueRegistrationAccessTokenArguments.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/cli/IssueRegistrationAccessTokenArguments.java
@@ -70,7 +70,7 @@ public class IssueRegistrationAccessTokenArguments extends AbstractCommandLineAr
     /** Flag to signal one-time use of the token. */
     @Parameter(names = {"-r", "--replacement"}, required = false,
             description = "Flag to request the ability to re-register the same client ID for the life of the token")
-    @Nullable private boolean replacement;
+    private boolean replacement;
     
     /** {@inheritDoc} */
     @Override
diff --git a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/AddTokenDeliveryAttributesToClaimsSet.java b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/AddTokenDeliveryAttributesToClaimsSet.java
index 9e8ae3b5..4e47fd66 100644
--- a/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/AddTokenDeliveryAttributesToClaimsSet.java
+++ b/idp-oidc-extension-impl/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/impl/AddTokenDeliveryAttributesToClaimsSet.java
@@ -63,7 +63,6 @@ public class AddTokenDeliveryAttributesToClaimsSet extends AbstractOIDCResponseA
     private ClaimsSet claimsSet;
 
     /** Whether we are adding claims to ID Token. */
-    @Nonnull
     private boolean targetIDToken;
 
     /** delivery claims to copy to claims set. */

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


More information about the commits mailing list