You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And elsewhere I try to load the config and use the Accessible methods
config = ConfigCache.getOrCreate(MyProjectConfig.class);
// Log all the properties using Accessible.storeByteArrayOutputStreamout = newByteArrayOutputStream();
config.store(newPrintStream(out), "--- loaded properties ---");
out.flush();
log.info(out);
// Again, using Accessible.listout = newByteArrayOutputStream();
config.list(newPrintStream(out));
out.flush();
log.info(out);
// Now get property nameslog.info("Property names:" + config.propertyNames());
They I get duplicate properties, ones with the values loaded from the external files and other with the default values, but without any expansion applied to the keys:
If I try to use the expansion method
E.g. if I define
And elsewhere I try to load the config and use the Accessible methods
They I get duplicate properties, ones with the values loaded from the external files and other with the default values, but without any expansion applied to the keys:
etc.
Nonetheless, when using the config interface methods, it returns the appropriate values:
The text was updated successfully, but these errors were encountered: