[java-opensaml COMMIT] /trunk/opensaml-util/src/main/java/org/opensaml/util/storage/StorageCapabilities.java
noreply at shibboleth.net
noreply at shibboleth.net
Mon Apr 1 22:50:36 EDT 2013
Author: scantor
Date: Mon Apr 1 22:50:35 2013
New Revision: 3280
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3280&view=rev
Log:
Add annotations.
Modified:
trunk/opensaml-util/src/main/java/org/opensaml/util/storage/StorageCapabilities.java
Modified: trunk/opensaml-util/src/main/java/org/opensaml/util/storage/StorageCapabilities.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-util/src/main/java/org/opensaml/util/storage/StorageCapabilities.java?rev=3280&r1=3279&r2=3280&view=diff
==============================================================================
--- trunk/opensaml-util/src/main/java/org/opensaml/util/storage/StorageCapabilities.java (original)
+++ trunk/opensaml-util/src/main/java/org/opensaml/util/storage/StorageCapabilities.java Mon Apr 1 22:50:35 2013
@@ -17,6 +17,8 @@
package org.opensaml.util.storage;
+import javax.annotation.Nonnull;
+
import com.google.common.base.Optional;
/**
@@ -29,27 +31,27 @@
*
* @return max size of context labels in characters, if any
*/
- public Optional<Integer> getContextSize();
+ @Nonnull public Optional<Integer> getContextSize();
/**
* Gets max size of keys in characters.
*
* @return max size of keys in characters, if any
*/
- public Optional<Integer> getKeySize();
+ @Nonnull public Optional<Integer> getKeySize();
/**
* Gets max size of string values in characters.
*
* @return max size of string values in characters, if any
*/
- public Optional<Integer> getStringSize();
+ @Nonnull public Optional<Integer> getStringSize();
/**
* Gets max size of text values in characters.
*
* @return max size of text values in characters, if any
*/
- public Optional<Long> getTextSize();
+ @Nonnull public Optional<Long> getTextSize();
}
More information about the commits
mailing list