mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
8eaac526a2
commit
ce3881fc78
@ -248,7 +248,7 @@ public class ClassScanner implements Serializable {
|
|||||||
this.classes.clear();
|
this.classes.clear();
|
||||||
this.classesOfLoadError.clear();
|
this.classesOfLoadError.clear();
|
||||||
|
|
||||||
for (final URL url : ResourceUtil.getResourceUrlIter(this.packagePath)) {
|
for (final URL url : ResourceUtil.getResourceUrlIter(this.packagePath, this.classLoader)) {
|
||||||
switch (url.getProtocol()) {
|
switch (url.getProtocol()) {
|
||||||
case "file":
|
case "file":
|
||||||
scanFile(new File(URLDecoder.decode(url.getFile(), this.charset)), null);
|
scanFile(new File(URLDecoder.decode(url.getFile(), this.charset)), null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user