Merge pull request #2066 from Abextm/cm-dots

configmanager: Allow multiple delimiters
This commit is contained in:
Adam
2018-04-28 22:18:43 -04:00
committed by GitHub

View File

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