]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.castor/src/test/java/org/argeo/slc/castor/AbstractCastorTestCase.java
Change the generated XML for the execution message
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / test / java / org / argeo / slc / castor / AbstractCastorTestCase.java
index 346fc859fcd590ac131a9685cd746d96aeed036d..a2f48c1997a770e38da09938ccec51785269af35 100644 (file)
@@ -54,7 +54,8 @@ public abstract class AbstractCastorTestCase extends AbstractSpringTestCase {
                return (T) unmarshal(xml);
        }
 
+       @SuppressWarnings("unchecked")
        protected <T> T marshUnmarsh(Object obj) throws Exception {
-               return marshUnmarsh(obj, true);
+               return (T) marshUnmarsh(obj, true);
        }
 }