This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new 0dfa11a (doc) Specify that typed getList returns null for missing key
(#100)
0dfa11a is described below
commit 0dfa11ac5ec13136a4d9813fae7d7506b330a379
Author: Roman Zaynetdinov <[email protected]>
AuthorDate: Sat Jun 26 18:43:32 2021 +0300
(doc) Specify that typed getList returns null for missing key (#100)
Based on this discussion:
https://mail-archives.apache.org/mod_mbox/commons-user/202102.mbox/%3CCAOoCORfb5z6uJ%3DKG0ESLOnM2G50fM7VoW1fKovCZFRSO54h-Xg%40mail.gmail.com%3E
---
.../java/org/apache/commons/configuration2/ImmutableConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
b/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
index 98c795d..2b64852 100644
---
a/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
+++
b/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
@@ -509,7 +509,7 @@ public interface ImmutableConfiguration
/**
* Gets a list of typed objects associated with the given configuration key
- * returning an empty list if the key doesn't map to an existing object.
+ * returning a null if the key doesn't map to an existing object.
*
* @param <T> the type expected for the elements of the list
* @param cls the class expected for the elements of the list