[java-identity-provider] branch master updated: Remove unnecessary cast.
Scott Cantor
cantor.2 at osu.edu
Thu Jun 4 23:28:33 UTC 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=e06e21c076aa1c44ff3c409e9847527576ed3af8
The following commit(s) were added to refs/heads/master by this push:
new e06e21c07 Remove unnecessary cast.
e06e21c07 is described below
commit e06e21c076aa1c44ff3c409e9847527576ed3af8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jun 4 19:28:30 2020 -0400
Remove unnecessary cast.
---
.../java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java b/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java
index 870a210fc..bcf23320e 100644
--- a/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java
+++ b/idp-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java
@@ -221,8 +221,7 @@ public class JDBCPairwiseIdStore extends AbstractInitializableComponent implemen
public void setTransactionRetries(@NonNegative final int retries) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
- transactionRetry = (int) Constraint.isGreaterThanOrEqual(0, retries,
- "Timeout must be greater than or equal to 0");
+ transactionRetry = Constraint.isGreaterThanOrEqual(0, retries, "Timeout must be greater than or equal to 0");
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list