Fix [cast] compiler warnings

This commit is contained in:
Phillip Webb
2012-12-18 18:06:44 -08:00
committed by Chris Beams
parent b0986049a3
commit 6c14eaad61
63 changed files with 122 additions and 122 deletions

View File

@@ -127,7 +127,7 @@ public class DelegatingActionProxy extends Action {
protected Action getDelegateAction(ActionMapping mapping) throws BeansException {
WebApplicationContext wac = getWebApplicationContext(getServlet(), mapping.getModuleConfig());
String beanName = determineActionBeanName(mapping);
return (Action) wac.getBean(beanName, Action.class);
return wac.getBean(beanName, Action.class);
}
/**

View File

@@ -177,7 +177,7 @@ public class DelegatingRequestProcessor extends RequestProcessor {
if (!getWebApplicationContext().containsBean(beanName)) {
return null;
}
return (Action) getWebApplicationContext().getBean(beanName, Action.class);
return getWebApplicationContext().getBean(beanName, Action.class);
}
/**

View File

@@ -126,7 +126,7 @@ public class DelegatingTilesRequestProcessor extends TilesRequestProcessor {
if (!getWebApplicationContext().containsBean(beanName)) {
return null;
}
return (Action) getWebApplicationContext().getBean(beanName, Action.class);
return getWebApplicationContext().getBean(beanName, Action.class);
}
/**