caseSensitiveCustomCategories must be set before loading the configuration file. (#3269)

Otherwise one set with categories in lowercase letters and on case sensitive
set is generated.
This commit is contained in:
mmehnert authored and LexManos committed 2016-09-22 17:03:35 -07:00
1 parent d3ad8aed76
commit 4feb1dff50
1 file changed
+7 -2
@@ -113,7 +113,7 @@ public class Configuration
/**
* Create a configuration file for the file given in parameter with the provided config version number.
*/
public Configuration(File file, String configVersion)
private void runConfiguration(File file, String configVersion)
{
this.file = file;
this.definedConfigVersion = configVersion;
@@ -145,10 +145,15 @@ public class Configuration
}
}
public Configuration(File file, String configVersion)
{
runConfiguration(file, configVersion);
}
public Configuration(File file, String configVersion, boolean caseSensitiveCustomCategories)
{
this(file, configVersion);
this.caseSensitiveCustomCategories = caseSensitiveCustomCategories;
runConfiguration(file, configVersion);
}
public Configuration(File file, boolean caseSensitiveCustomCategories)