Skip to content

Commit aab7ad5

Browse files
committed
Javadoc for Configuration.Builder load() method for "loadMaybe" semantics
1 parent 98cee8e commit aab7ad5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

avaje-config/src/main/java/io/avaje/config/Configuration.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ interface Builder {
760760
/**
761761
* Load the resource using the extension to determine the parser to use.
762762
* <p>
763+
* If the resource is not found then nothing is loaded.
764+
* <p>
763765
* By default, resources with {@code .properties} and {@code .yaml} extensions are supported.
764766
*
765767
* @param resource The resource with configuration content
@@ -769,6 +771,8 @@ interface Builder {
769771
/**
770772
* Load the file using the file extension to determine the parser to use.
771773
* <p>
774+
* If the file does not exist then nothing is loaded.
775+
* <p>
772776
* By default, files with {@code .properties} and {@code .yaml} extensions are supported.
773777
*
774778
* @param file The file with configuration content

0 commit comments

Comments
 (0)