[java-identity-provider COMMIT] /trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/saml2/profile/config/Browse...

noreply at shibboleth.net noreply at shibboleth.net
Mon Oct 26 12:21:21 EDT 2015


Author: tzeller
Date: Mon Oct 26 12:21:21 2015
New Revision: 7879

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7879&view=rev
Log:
Add missing annotation to method parameter.

Modified:
    trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/saml2/profile/config/BrowserSSOProfileConfiguration.java

Modified: trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/saml2/profile/config/BrowserSSOProfileConfiguration.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/saml2/profile/config/BrowserSSOProfileConfiguration.java?rev=7879&r1=7878&r2=7879&view=diff
==============================================================================
--- trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/saml2/profile/config/BrowserSSOProfileConfiguration.java	(original)
+++ trunk/idp-saml-api/src/main/java/net/shibboleth/idp/saml/saml2/profile/config/BrowserSSOProfileConfiguration.java	Mon Oct 26 12:21:21 2015
@@ -301,7 +301,7 @@
      * 
      * @param length the limit on the total number of delegates that may be derived from the initial SAML token
      */
-    public void setMaximumTokenDelegationChainLength(final long length) {
+    public void setMaximumTokenDelegationChainLength(@NonNegative final long length) {
         maximumTokenDelegationChainLength = Constraint.isGreaterThanOrEqual(0, length,
                 "Delegation chain length must be greater than or equal to 0");
     }



More information about the commits mailing list