Fixed tests, polsihing up poms

This commit is contained in:
Arjen Poutsma
2010-02-10 15:14:55 +00:00
parent 061d3b6f47
commit b157817ae6
19 changed files with 303 additions and 342 deletions

View File

@@ -33,7 +33,7 @@ import org.springframework.util.CollectionUtils;
* @see #setExpression(String)
* @since 1.0.0
*/
public class XPathExpressionFactoryBean implements FactoryBean, InitializingBean {
public class XPathExpressionFactoryBean implements FactoryBean<XPathExpression>, InitializingBean {
private Map<String, String> namespaces;
@@ -61,11 +61,11 @@ public class XPathExpressionFactoryBean implements FactoryBean, InitializingBean
}
}
public Object getObject() throws Exception {
public XPathExpression getObject() throws Exception {
return expression;
}
public Class<?> getObjectType() {
public Class<? extends XPathExpression> getObjectType() {
return XPathExpression.class;
}