I have repeated a lot the strings for the use of sections and config keys in several files.
It seems very easy to delocalize those strings in constants in the BetterConfig class.
Thinking more about this, the default configuration file (properties.ini) could even be generated with those key. This would allow discrepencies between that initial config and the BetterConfig class itself.
I have repeated a lot the strings for the use of sections and config keys in several files.
It seems very easy to delocalize those strings in constants in the
BetterConfig
class.Thinking more about this, the default configuration file (
properties.ini
) could even be generated with those key. This would allow discrepencies between that initial config and theBetterConfig
class itself.