[java-plugin-shibd] branch main updated: Fix annotation error on setters.

Codeberg noreply at shibboleth.net
Wed Aug 5 15:06:51 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/6b30a720fa6d2c8207257e4baa18fe643d271315

The following commit(s) were added to refs/heads/main by this push:
     new 6b30a72  Fix annotation error on setters.
6b30a72 is described below

commit 6b30a720fa6d2c8207257e4baa18fe643d271315
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Aug 5 11:06:30 2026 -0400

    Fix annotation error on setters.
---
 .../src/main/java/net/shibboleth/sp/context/AgentRequestContext.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/context/AgentRequestContext.java b/sp-server-api/src/main/java/net/shibboleth/sp/context/AgentRequestContext.java
index d8fcc80..8de917e 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/context/AgentRequestContext.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/context/AgentRequestContext.java
@@ -154,7 +154,7 @@ public class AgentRequestContext extends BaseContext {
      * 
      * @return this context
      */
-    @Nonnull public AgentRequestContext setRemotedHttpServletRequest(@Nonnull final RemotedHttpServletRequest wrapped) {
+    @Nonnull public AgentRequestContext setRemotedHttpServletRequest(@Nullable final RemotedHttpServletRequest wrapped) {
         wrappedHttpServletRequest = wrapped;
         
         return this;
@@ -176,7 +176,7 @@ public class AgentRequestContext extends BaseContext {
      * 
      * @return this context
      */
-    @Nonnull public AgentRequestContext setRemotedHttpServletResponse(@Nonnull final RemotedHttpServletResponse wrapped) {
+    @Nonnull public AgentRequestContext setRemotedHttpServletResponse(@Nullable final RemotedHttpServletResponse wrapped) {
         wrappedHttpServletResponse = wrapped;
         
         return this;

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


More information about the commits mailing list