Skip to content

Commit

Permalink
Fix call to findResources returns empty. (#837)
Browse files Browse the repository at this point in the history
* Fix the issue where the call to findResources returns empty.

* Remove getUrlLoader.
  • Loading branch information
lushangkan authored Oct 3, 2023
1 parent cc38f38 commit 222f297
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ public URL findResource(String name) {
return urlLoader.findResource(name);
}

@Override
public Enumeration<URL> findResources(String name) throws IOException {
Objects.requireNonNull(name);

return urlLoader.findResources(name);
}

@Override
public InputStream getResourceAsStream(String name) {
Objects.requireNonNull(name);
Expand Down

0 comments on commit 222f297

Please # to comment.