[java-opensaml COMMIT] /trunk/opensaml-core/src/main/java/org/opensaml/core/xml/ElementExtensibleXMLObject.java
noreply at shibboleth.net
noreply at shibboleth.net
Mon Jan 7 21:02:11 EST 2013
Author: scantor
Date: Mon Jan 7 21:02:11 2013
New Revision: 3137
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3137&view=rev
Log:
"Typed" collections, including wildcards, should be non-null returns.
Modified:
trunk/opensaml-core/src/main/java/org/opensaml/core/xml/ElementExtensibleXMLObject.java
Modified: trunk/opensaml-core/src/main/java/org/opensaml/core/xml/ElementExtensibleXMLObject.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/main/java/org/opensaml/core/xml/ElementExtensibleXMLObject.java?rev=3137&r1=3136&r2=3137&view=diff
==============================================================================
--- trunk/opensaml-core/src/main/java/org/opensaml/core/xml/ElementExtensibleXMLObject.java (original)
+++ trunk/opensaml-core/src/main/java/org/opensaml/core/xml/ElementExtensibleXMLObject.java Mon Jan 7 21:02:11 2013
@@ -20,7 +20,6 @@
import java.util.List;
import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
import javax.xml.namespace.QName;
/**
@@ -33,7 +32,7 @@
*
* @return list of XMLObjects added to this XMLObject as part of the "any" content model
*/
- @Nullable public List<XMLObject> getUnknownXMLObjects();
+ @Nonnull public List<XMLObject> getUnknownXMLObjects();
/**
* Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
@@ -42,5 +41,5 @@
* @param typeOrName the QName of the statements to return
* @return list of XMLObjects added to this XMLObject as part of the "any" content model
*/
- @Nullable public List<XMLObject> getUnknownXMLObjects(@Nonnull final QName typeOrName);
+ @Nonnull public List<XMLObject> getUnknownXMLObjects(@Nonnull final QName typeOrName);
}
More information about the commits
mailing list