[java-shib-shared] branch main updated: IDP-2400 - Spring 6.2 changed MessageSource Locale parameter annotation

Scott Cantor cantor.2 at osu.edu
Tue Aug 19 18:55:53 UTC 2025


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

scantor pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=b28eeb2b26e40bc03d414f8e872c12d633700373

The following commit(s) were added to refs/heads/main by this push:
     new b28eeb2b IDP-2400 - Spring 6.2 changed MessageSource Locale parameter annotation
b28eeb2b is described below

commit b28eeb2b26e40bc03d414f8e872c12d633700373
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 19 14:55:50 2025 -0400

    IDP-2400 - Spring 6.2 changed MessageSource Locale parameter annotation
    
    https://shibboleth.atlassian.net/browse/IDP-2400
---
 .../java/net/shibboleth/shared/testing/MockApplicationContext.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shib-testing/src/main/java/net/shibboleth/shared/testing/MockApplicationContext.java b/shib-testing/src/main/java/net/shibboleth/shared/testing/MockApplicationContext.java
index d8e2dfce..ba05bba0 100644
--- a/shib-testing/src/main/java/net/shibboleth/shared/testing/MockApplicationContext.java
+++ b/shib-testing/src/main/java/net/shibboleth/shared/testing/MockApplicationContext.java
@@ -230,18 +230,18 @@ public class MockApplicationContext implements ConfigurableApplicationContext {
 
     /** {@inheritDoc} */
     public String getMessage(@Nonnull final String code, @Nullable final Object[] args, @Nullable final String defaultMessage,
-            @Nonnull final Locale locale) {
+            @Nullable final Locale locale) {
         throw new IllegalStateException();
     }
 
     /** {@inheritDoc} */
-    public @Nonnull String getMessage(@Nonnull final String code , at Nullable final Object[] args, @Nonnull final Locale locale)
+    public @Nonnull String getMessage(@Nonnull final String code , at Nullable final Object[] args, @Nullable final Locale locale)
             throws NoSuchMessageException {
         throw new IllegalStateException();
     }
 
     /** {@inheritDoc} */
-    public @Nonnull String getMessage(@Nonnull final MessageSourceResolvable resolvable, @Nonnull final Locale locale)
+    public @Nonnull String getMessage(@Nonnull final MessageSourceResolvable resolvable, @Nullable final Locale locale)
             throws NoSuchMessageException {
         throw new IllegalStateException();
     }

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


More information about the commits mailing list