Re: [configuration2] Mismatch between getList doc and implementation

2021-02-16 Thread Roman Zaynetdinov
Hi Gary, I somehow didn't get your response in my email so responding to my own message instead. I have found the tests for this case here https://github.com/apache/commons-configuration/blob/master/src/test/java/org/apache/commons/configuration2/TestAbstractConfigurationBasicFeatures.java#L898-L

Re: [configuration2] Mismatch between getList doc and implementation

2021-02-15 Thread Gary Gregory
Hi Roman, You can try the change and see if it breaks any existing tests. Feel free to create a PR even if it just to make the Javadoc match the code. I've not studied this part of the code in a while, so maybe someone else can opine. Gary On Fri, Feb 12, 2021, 18:30 Roman Zaynetdinov wrote:

[configuration2] Mismatch between getList doc and implementation

2021-02-12 Thread Roman Zaynetdinov
Hi, I am switching to commons-configuration2 and trying to use typed getList method. I have noticed that javadoc doesn't correspond to the actual implementation. ImmutableConfiguration.java: /** * Gets a list of typed objects associated with the given configuration key * returning an empty lis