Skip to content
Permalink
Browse files
(doc) Specify that typed getList returns null for missing key (#100)
  • Loading branch information
zaynetro committed Jun 26, 2021
1 parent 6c60fef commit 0dfa11ac5ec13136a4d9813fae7d7506b330a379
Showing 1 changed file with 1 addition and 1 deletion.
@@ -509,7 +509,7 @@ default <T extends Enum<T>> T getEnum(final String key, final Class<T> enumType,

/**
* 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

0 comments on commit 0dfa11a

Please sign in to comment.