|
@@ -155,8 +155,10 @@ public final class PackageScanner {
|
|
|
try {
|
|
try {
|
|
|
JarEntry entry;
|
|
JarEntry entry;
|
|
|
while(null != (entry = istream.getNextJarEntry())) {
|
|
while(null != (entry = istream.getNextJarEntry())) {
|
|
|
- action.accept(entry.getName());
|
|
|
|
|
- return true;
|
|
|
|
|
|
|
+ if(entry.getName().startsWith(croot) && !entry.isDirectory()) {
|
|
|
|
|
+ action.accept(entry.getName());
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
istream.close();
|
|
istream.close();
|
|
|
return false;
|
|
return false;
|