configmanager: Allow multiple delimiters

This commit is contained in:
Max Weber
2018-04-27 17:19:55 -06:00
parent 00ba685a0e
commit 5e479292e0

View File

@@ -193,7 +193,7 @@ public class ConfigManager
Map<String, String> copy = (Map) ImmutableMap.copyOf(properties); Map<String, String> copy = (Map) ImmutableMap.copyOf(properties);
copy.forEach((groupAndKey, value) -> copy.forEach((groupAndKey, value) ->
{ {
final String[] split = ((String) groupAndKey).split("\\."); final String[] split = ((String) groupAndKey).split("\\.", 2);
if (split.length != 2) if (split.length != 2)
{ {
log.debug("Properties key malformed!: {}", groupAndKey); log.debug("Properties key malformed!: {}", groupAndKey);