mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-22 16:09:18 +01:00
Fix just another bug in getFSTEntriesByRegEx
This commit is contained in:
parent
671ade1fe0
commit
8d6c6b8691
@ -125,7 +125,7 @@ public class NUSTitle {
|
|||||||
.flatMap(e -> {
|
.flatMap(e -> {
|
||||||
if (!e.isDir()) {
|
if (!e.isDir()) {
|
||||||
if (p.matcher(e.getFullPath().replace("/", File.separator)).matches()) {
|
if (p.matcher(e.getFullPath().replace("/", File.separator)).matches()) {
|
||||||
return Stream.of(entry);
|
return Stream.of(e);
|
||||||
} else {
|
} else {
|
||||||
return Stream.empty();
|
return Stream.empty();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user