Partially reverts: WW-3623 some generics fix - to solve WW-4142

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1509233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Lukasz Lenart
2013-08-01 13:48:55 +00:00
parent 303eb9f66d
commit 97fd9cd886
@@ -53,7 +53,7 @@ public class Component {
public static final String COMPONENT_STACK = "__component_stack";
protected ValueStack stack;
protected Map<String, Object> parameters;
protected Map parameters;
protected ActionMapper actionMapper;
protected boolean throwExceptionOnELFailure;
private UrlHelper urlHelper;
@@ -449,7 +449,7 @@ public class Component {
* Gets the parameters.
* @return the parameters. Is never <tt>null</tt>.
*/
public Map<String, Object> getParameters() {
public Map getParameters() {
return parameters;
}
@@ -457,7 +457,7 @@ public class Component {
* Adds all the given parameters to this component's own parameters.
* @param params the parameters to add.
*/
public void addAllParameters(Map<String, Object> params) {
public void addAllParameters(Map params) {
parameters.putAll(params);
}
@@ -472,7 +472,7 @@ public class Component {
*/
public void addParameter(String key, Object value) {
if (key != null) {
Map<String, Object> params = getParameters();
Map params = getParameters();
if (value == null) {
params.remove(key);