Fix compiler warnings in XML module

This commit is contained in:
David Syer
2010-03-05 17:47:31 +00:00
parent c60119e745
commit ed5359eee1

View File

@@ -33,8 +33,7 @@ public class TestTemplatesFactory implements FactoryBean<Templates> {
return TransformerFactory.newInstance().newTemplates(new StreamSource(xslResource.getInputStream()));
}
@SuppressWarnings("unchecked")
public Class getObjectType() {
public Class<Templates> getObjectType() {
return Templates.class;
}