Fix compiler warnings in XML module
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user