Hello Duc, the problem you are facing is probably not related to double quotes, but to a change in the way delimiter characters in strings are handled.
In configuration 2.x the splitting of strings at delimiter characters is disabled per default. But you can enable this feature by setting a suitable ListDelimiterHandler. This is described in the user's guide [1]. HTH Oliver [1] http://commons.apache.org/proper/commons-configuration/userguide/howto_basicfeatures.html#List_handling Am 23.08.19 um 05:04 schrieb Duc Tran: > Hello, I'm Duc, and in our projects, we just upgraded from > commons-configuration 1.9 to 2.5 and we found that when passing env > variables into properties file as a list like > `key=${env:MY_LIST_VARIABLES}` where MY_LIST_VARIABLES is "value1, > value2, value3", the new commons configuration 2.5 doesn't strip double > quotes. This makes `properites.getStringArray("key")` returns an array > with only element is the big string ["value1, value2, value3"] instead > of what I expected and what the commons-configuration 1 does returns > ["value1", "value2", "value3"] > > So, do you have any suggestion to keep that behavior with > commons-configuration 2.5? > > > Thank you! > > Duc Tran Tien, > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org