* fix NPE

This commit is contained in:
Reinhard Pointner 2014-10-21 10:26:42 +00:00
parent fcbff8b610
commit a80c8ac661
1 changed files with 2 additions and 2 deletions

View File

@ -439,8 +439,8 @@ public class ReleaseInfo {
@Override
public boolean accept(File dir) {
if (dir.isDirectory()) {
for (String entry : dir.list()) {
if (entryPattern.matcher(entry).matches()) {
for (File f : getChildren(dir)) {
if (entryPattern.matcher(f.getName()).matches()) {
return true;
}
}