[java-opensaml COMMIT] in /trunk/opensaml-core/src/test/java/org/opensaml/core/xml: NamespaceManagerTest.java util/At...

noreply at shibboleth.net noreply at shibboleth.net
Mon Nov 4 00:05:15 EST 2013


Author: scantor
Date: Mon Nov  4 00:05:14 2013
New Revision: 3495

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3495&view=rev
Log:
Warning and annotation cleanup.

Modified:
    trunk/opensaml-core/src/test/java/org/opensaml/core/xml/NamespaceManagerTest.java
    trunk/opensaml-core/src/test/java/org/opensaml/core/xml/util/AttributeMapTest.java

Modified: trunk/opensaml-core/src/test/java/org/opensaml/core/xml/NamespaceManagerTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/test/java/org/opensaml/core/xml/NamespaceManagerTest.java?rev=3495&r1=3494&r2=3495&view=diff
==============================================================================
--- trunk/opensaml-core/src/test/java/org/opensaml/core/xml/NamespaceManagerTest.java (original)
+++ trunk/opensaml-core/src/test/java/org/opensaml/core/xml/NamespaceManagerTest.java Mon Nov  4 00:05:14 2013
@@ -67,7 +67,7 @@
 
     @BeforeMethod
     protected void setUp() throws Exception {
-        xsAnyBuilder = builderFactory.getBuilder(XSAny.TYPE_NAME);
+        xsAnyBuilder = (XMLObjectBuilder<XSAny>) builderFactory.getBuilder(XSAny.TYPE_NAME);
         xsAny = xsAnyBuilder.buildObject(elementName);
         nsManager = xsAny.getNamespaceManager();
     }

Modified: trunk/opensaml-core/src/test/java/org/opensaml/core/xml/util/AttributeMapTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/test/java/org/opensaml/core/xml/util/AttributeMapTest.java?rev=3495&r1=3494&r2=3495&view=diff
==============================================================================
--- trunk/opensaml-core/src/test/java/org/opensaml/core/xml/util/AttributeMapTest.java (original)
+++ trunk/opensaml-core/src/test/java/org/opensaml/core/xml/util/AttributeMapTest.java Mon Nov  4 00:05:14 2013
@@ -63,7 +63,7 @@
 
     @BeforeMethod
     protected void setUp() throws Exception {
-        xsAnyBuilder = builderFactory.getBuilder(XSAny.TYPE_NAME);
+        xsAnyBuilder = (XMLObjectBuilder<XSAny>) builderFactory.getBuilder(XSAny.TYPE_NAME);
         owner = xsAnyBuilder.buildObject(elementName);
         attributeMap = owner.getUnknownAttributes();
     }



More information about the commits mailing list