Make ConventionConstantConfig inherit map of constants from ConstantConfig

This commit is contained in:
Aleksandr Mashchenko
2017-11-21 22:26:52 +02:00
parent 7a9b5029a5
commit 9f082b264c
@@ -18,7 +18,6 @@
*/
package org.apache.struts2.convention.config.entities;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@@ -60,7 +59,7 @@ public class ConventionConstantConfig extends ConstantConfig {
@Override
public Map<String, String> getAllAsStringsMap() {
Map<String, String> map = new HashMap<>();
Map<String, String> map = super.getAllAsStringsMap();
map.put(ConventionConstants.CONVENTION_ACTION_CONFIG_BUILDER, beanConfToString(conventionActionConfigBuilder));
map.put(ConventionConstants.CONVENTION_ACTION_NAME_BUILDER, beanConfToString(conventionActionNameBuilder));