Commit b237077
authored
DefaultResourceLoader uses ClassLoader.getSystemResourceAsStream() as fallback (#146)
* #142 Use UncheckedIOException rather than IllegalStateException This improves consistency with other use of UncheckedIOException * #141 DefaultResourceLoader uses ClassLoader.getSystemResourceAsStream() as fallback This should be no change when using "normal" Config/Configuration but allows users of the ConfigurationBuilder to have this fallback to ClassLoader.getSystemResourceAsStream() when the resource is not found via the usual getClass().getResourceAsStream() * #141 Use inputStream as variable name1 parent ce3d938 commit b237077
File tree
2 files changed
+7
-7
lines changed- avaje-config/src/main/java/io/avaje/config
2 files changed
+7
-7
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 107 | + | |
113 | 108 | | |
114 | 109 | | |
115 | 110 | | |
| |||
0 commit comments