Creates ActionMapping with empty params

This commit is contained in:
Lukasz Lenart
2015-10-05 14:52:33 +02:00
parent bda06c8baa
commit 8dc6f77e0b
@@ -23,6 +23,7 @@ package org.apache.struts2.dispatcher.mapper;
import com.opensymphony.xwork2.Result;
import java.util.HashMap;
import java.util.Map;
/**
@@ -44,7 +45,9 @@ public class ActionMapping {
/**
* Constructs an ActionMapping
*/
public ActionMapping() {}
public ActionMapping() {
params = new HashMap<>();
}
/**
* Constructs an ActionMapping with a default result