mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
Drops unused TypeConverter
This commit is contained in:
@@ -187,11 +187,7 @@ public class ActionContext implements Serializable {
|
||||
* @return the context map.
|
||||
*/
|
||||
public Map<String, Object> getContextMap() {
|
||||
Map<String, Object> context = getContext().context;
|
||||
if (context instanceof OgnlContext) {
|
||||
((OgnlContext) context).put(TypeConverter.TYPE_CONVERTER_CONTEXT_KEY, ((OgnlContext) context).getTypeConverter());
|
||||
}
|
||||
return context;
|
||||
return new HashMap<>(getContext().context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user