mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-09-30 07:58:35 +02:00
Fix the getFSTEntriesByRegEx functions
This commit is contained in:
parent
9acd11bd11
commit
671ade1fe0
@ -124,7 +124,7 @@ public class NUSTitle {
|
|||||||
.filter(e -> allowNotInPackage || !e.isNotInPackage()) //
|
.filter(e -> allowNotInPackage || !e.isNotInPackage()) //
|
||||||
.flatMap(e -> {
|
.flatMap(e -> {
|
||||||
if (!e.isDir()) {
|
if (!e.isDir()) {
|
||||||
if (p.matcher(entry.getFullPath().replace("/", File.separator)).matches()) {
|
if (p.matcher(e.getFullPath().replace("/", File.separator)).matches()) {
|
||||||
return Stream.of(entry);
|
return Stream.of(entry);
|
||||||
} else {
|
} else {
|
||||||
return Stream.empty();
|
return Stream.empty();
|
||||||
|
Loading…
Reference in New Issue
Block a user