Fix [cast] compiler warnings
This commit is contained in:
committed by
Chris Beams
parent
b0986049a3
commit
6c14eaad61
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user