Skip to content

Commit

Permalink
fixes #56 adding JavaDoc and TCK
Browse files Browse the repository at this point in the history
Empty internal values are to be interpreted as not-existing configuration
Signed-off-by: Mark Struberg <[email protected]>
  • Loading branch information
struberg committed Mar 10, 2017
1 parent 40b06cd commit 0f6bacc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ public interface Config {
* Return the resolved property value with the specified type for the
* specified property name from the underlying {@link ConfigSource ConfigSources}.
*
* An empty string representation is interpreted as not-existing configuration.
*
* If this method gets used very often then consider to locally store the configured value.
*
*
* @param <T>
* the property type
* @param propertyName
Expand All @@ -67,6 +69,8 @@ public interface Config {
* Get an Optional raw string value associated with the given configuration
* propertyName.
*
* An empty value string is interpreted as not-existing configuration.
*
* @param propertyName
* The configuration propertyName.
* @return The resolved property value as a String-Optional, which will bypass converters.
Expand Down

0 comments on commit 0f6bacc

Please sign in to comment.