[java-opensaml COMMIT] /trunk/opensaml-core/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java
noreply at shibboleth.net
noreply at shibboleth.net
Sun Jul 7 17:00:31 EDT 2013
Author: scantor
Date: Sun Jul 7 17:00:31 2013
New Revision: 3400
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3400&view=rev
Log:
Annotations
Modified:
trunk/opensaml-core/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java
Modified: trunk/opensaml-core/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java?rev=3400&r1=3399&r2=3400&view=diff
==============================================================================
--- trunk/opensaml-core/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java (original)
+++ trunk/opensaml-core/src/main/java/org/opensaml/core/xml/util/XMLObjectSupport.java Sun Jul 7 17:00:31 2013
@@ -23,6 +23,7 @@
import java.util.List;
import java.util.Map.Entry;
+import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.namespace.QName;
@@ -231,7 +232,7 @@
* @return the marshalled Element
* @throws MarshallingException if there is a problem marshalling the XMLObject
*/
- public static Element marshall(XMLObject xmlObject) throws MarshallingException {
+ @Nonnull public static Element marshall(@Nonnull final XMLObject xmlObject) throws MarshallingException {
Logger log = getLogger();
log.debug("Marshalling XMLObject");
More information about the commits
mailing list