[java-identity-provider] branch main updated: Remove redundant keywords.

Scott Cantor cantor.2 at osu.edu
Tue Oct 20 20:08:01 UTC 2020


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=ee8b22a86056ba11c83a8ddb8d8c56781599ccd6

The following commit(s) were added to refs/heads/main by this push:
       new  ee8b22a86 Remove redundant keywords.
ee8b22a86 is described below

commit ee8b22a86056ba11c83a8ddb8d8c56781599ccd6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Oct 20 16:07:58 2020 -0400

    Remove redundant keywords.
---
 .../shibboleth/idp/attribute/resolver/dc/ExecutableSearch.java    | 2 +-
 .../idp/attribute/resolver/dc/ExecutableSearchBuilder.java        | 2 +-
 .../java/net/shibboleth/idp/attribute/resolver/dc/Validator.java  | 4 ++--
 .../idp/attribute/resolver/dc/rdbms/ExecutableStatement.java      | 2 +-
 .../idp/attribute/resolver/scripted/ScriptedIdPAttribute.java     | 8 ++++----
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearch.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearch.java
index 151cfd042..15c60678e 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearch.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearch.java
@@ -29,5 +29,5 @@ public interface ExecutableSearch {
      * 
      * @return the result cache key
      */
-    @Nullable public String getResultCacheKey();
+    @Nullable String getResultCacheKey();
 }
\ No newline at end of file
diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearchBuilder.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearchBuilder.java
index e5ec7c8d3..86a948531 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearchBuilder.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ExecutableSearchBuilder.java
@@ -43,6 +43,6 @@ public interface ExecutableSearchBuilder<T extends ExecutableSearch> {
      * 
      * @throws ResolutionException throw if their is a problem creating the executable search
      */
-    @Nonnull public T build(@Nonnull AttributeResolutionContext resolutionContext,
+    @Nonnull T build(@Nonnull AttributeResolutionContext resolutionContext,
             @Nonnull Map<String, List<IdPAttributeValue>> dependencyAttributes) throws ResolutionException;
 }
diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/Validator.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/Validator.java
index edfdc7956..13f6adcb8 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/Validator.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/Validator.java
@@ -32,12 +32,12 @@ public interface Validator {
      *
      * @param what whether {@link #validate()} should throw or log errors
      */
-    public void setThrowValidateError(final boolean what);
+    void setThrowValidateError(final boolean what);
 
     /**
      * Returns whether {@link #validate()} should throw or log errors.
      *
      * @return whether {@link #validate()} should throw or log errors
      */
-    public boolean isThrowValidateError();
+    boolean isThrowValidateError();
 }
\ No newline at end of file
diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/rdbms/ExecutableStatement.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/rdbms/ExecutableStatement.java
index 331ed39c0..4b38f3a33 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/rdbms/ExecutableStatement.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/dc/rdbms/ExecutableStatement.java
@@ -38,5 +38,5 @@ public interface ExecutableStatement extends ExecutableSearch {
      * 
      * @throws SQLException thrown if there is a problem executing the statement
      */
-    @Nonnull public ResultSet execute(@Nonnull Connection connection) throws SQLException;
+    @Nonnull ResultSet execute(@Nonnull Connection connection) throws SQLException;
 }
\ No newline at end of file
diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/scripted/ScriptedIdPAttribute.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/scripted/ScriptedIdPAttribute.java
index 47a4a732a..f1c4cbfd9 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/scripted/ScriptedIdPAttribute.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/scripted/ScriptedIdPAttribute.java
@@ -38,7 +38,7 @@ public interface ScriptedIdPAttribute {
      * @return a modifiable collection of the string attributes
      * @throws ResolutionException if the script has called {@link #getNativeAttribute()}
      */
-    @Nullable public Collection<Object> getValues() throws ResolutionException;
+    @Nullable Collection<Object> getValues() throws ResolutionException;
 
     /**
      * return the underlying attribute.
@@ -46,14 +46,14 @@ public interface ScriptedIdPAttribute {
      * @return the attribute
      * @throws ResolutionException if the script has called getValues.
      */
-    @Nonnull public IdPAttribute getNativeAttribute() throws ResolutionException;
+    @Nonnull IdPAttribute getNativeAttribute() throws ResolutionException;
 
     /**
      * Get the encapsulated attributeId.
      * 
      * @return the id
      */
-    @Nonnull @NotEmpty public String getId();
+    @Nonnull @NotEmpty String getId();
 
     /**
      * Add the provided object to the attribute values, policing for type.
@@ -61,6 +61,6 @@ public interface ScriptedIdPAttribute {
      * @param what a {@link String} or a {@link net.shibboleth.idp.attribute.IdPAttributeValue} to add.
      * @throws ResolutionException if the provided value is of the wrong type
      */
-    public void addValue(@Nullable final Object what) throws ResolutionException;
+    void addValue(@Nullable final Object what) throws ResolutionException;
 
 }

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


More information about the commits mailing list