[java-plugin-shibd] 01/02: Formatting changes.

Codeberg noreply at shibboleth.net
Tue Nov 3 20:56:05 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/11c0a4254938e479f21e0ee48530cf16001f3ea7

commit 11c0a4254938e479f21e0ee48530cf16001f3ea7
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Nov 3 15:54:48 2026 -0500

    Formatting changes.
---
 .../AbstractStorageServiceCredentialResolver.java  |  2 +-
 .../java/net/shibboleth/sp/impl/BasicAgent.java    | 34 ++++++++++------------
 .../net/shibboleth/sp/impl/BasicApplication.java   |  1 -
 .../impl/ResourceBackedMemoryStorageService.java   |  1 -
 4 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java b/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java
index 935939c..24a2899 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/credential/AbstractStorageServiceCredentialResolver.java
@@ -195,7 +195,7 @@ public abstract class AbstractStorageServiceCredentialResolver<T extends Credent
      * 
      * <p>Defaults to false.</p>
      * 
-     * <p>When enabled, any {@link ProfileRequestContextCriterion} is remoed from input criteria.</p>
+     * <p>When enabled, any {@link ProfileRequestContextCriterion} is removed from input criteria.</p>
      * 
      * @param flag flag to set
      */
diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicAgent.java b/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicAgent.java
index c9319c3..7865a6f 100644
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicAgent.java
+++ b/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicAgent.java
@@ -271,24 +271,7 @@ public class BasicAgent extends BasicApplication implements Agent {
     public void setCharacterEncoding(@Nonnull final String name) {
         encoding = Charset.forName(name);
     }
-    
-    /**
-     * Sets the {@link Application} instances associated with this agent.
-     * 
-     * @param applications applications associated with this agent
-     */
-    public void setApplications(@Nullable final Set<Application> applications) {
-        checkSetterPreconditions();
         
-        if (applications != null) {
-            applicationMap = applications.stream().collect(
-                    CollectionSupport.nonnullCollector(
-                            Collectors.toUnmodifiableMap(Application::getId, Functions.identity()))).get();
-        } else {
-            applicationMap = CollectionSupport.emptyMap();
-        }
-    }
-    
     /** {@inheritDoc} */
     @Nullable public Application getApplication(@Nonnull String id) {
         checkComponentActive();
@@ -311,8 +294,23 @@ public class BasicAgent extends BasicApplication implements Agent {
         return CollectionSupport.copyToList(apps);
     }
     
+    /**
+     * Sets the {@link Application} instances associated with this agent.
+     * 
+     * @param applications applications associated with this agent
+     */
+    public void setApplications(@Nullable final Set<Application> applications) {
+        checkSetterPreconditions();
+        
+        if (applications != null) {
+            applicationMap = applications.stream().collect(
+                    CollectionSupport.nonnullCollector(
+                            Collectors.toUnmodifiableMap(Application::getId, Functions.identity()))).get();
+        } else {
+            applicationMap = CollectionSupport.emptyMap();
+        }
+    }
     
-
     /** {@inheritDoc} */
     @Override
     protected void doInitialize() throws ComponentInitializationException {
diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicApplication.java b/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicApplication.java
index b139b53..675ffc7 100644
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicApplication.java
+++ b/sp-server-impl/src/main/java/net/shibboleth/sp/impl/BasicApplication.java
@@ -614,7 +614,6 @@ public class BasicApplication extends BasicRelyingPartyConfiguration implements
         
         attributeFilter = Constraint.isNotNull(service, "AttributeFilter service cannot be null");
     }
-
     
     /** {@inheritDoc} */
     @Nullable public <T extends ProtocolSupportService> T getProtocolSupportService(
diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/storage/impl/ResourceBackedMemoryStorageService.java b/sp-server-impl/src/main/java/net/shibboleth/sp/storage/impl/ResourceBackedMemoryStorageService.java
index dd47f3c..61743fe 100644
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/storage/impl/ResourceBackedMemoryStorageService.java
+++ b/sp-server-impl/src/main/java/net/shibboleth/sp/storage/impl/ResourceBackedMemoryStorageService.java
@@ -172,7 +172,6 @@ public class ResourceBackedMemoryStorageService extends AbstractMapBackedStorage
         } catch (final IOException e) {
             throw new ComponentInitializationException("Error reading backing resource", e);
         }
-        
     }
 
     /** {@inheritDoc} */

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


More information about the commits mailing list