]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Fix JDK 1.5 specific issue
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 27 Jan 2009 17:56:21 +0000 (17:56 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 27 Jan 2009 17:56:21 +0000 (17:56 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2145 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

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);
        }
 }