static Map<ConfigKey, String> convertToConfigMap(Map<String, String> pParams) { Map<ConfigKey,String> config = new HashMap<ConfigKey, String>(); if (pParams != null) { for (Map.Entry<String,?> entry : pParams.entrySet()) { ConfigKey cKey = ConfigKey.getRequestConfigKey(entry.getKey()); if (cKey != null) { Object value = entry.getValue(); config.put(cKey, value != null ? value.toString() : null); } } } return config; } }
static Map<ConfigKey, String> convertToConfigMap(Map<String, String> pParams) { Map<ConfigKey,String> config = new HashMap<ConfigKey, String>(); if (pParams != null) { for (Map.Entry<String,?> entry : pParams.entrySet()) { ConfigKey cKey = ConfigKey.getRequestConfigKey(entry.getKey()); if (cKey != null) { Object value = entry.getValue(); config.put(cKey, value != null ? value.toString() : null); } } } return config; } }
static Map<ConfigKey, String> convertToConfigMap(Map<String, String> pParams) { Map<ConfigKey,String> config = new HashMap<ConfigKey, String>(); if (pParams != null) { for (Map.Entry<String,?> entry : pParams.entrySet()) { ConfigKey cKey = ConfigKey.getRequestConfigKey(entry.getKey()); if (cKey != null) { Object value = entry.getValue(); config.put(cKey, value != null ? value.toString() : null); } } } return config; } }