Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
parent
61f4dbecdc
commit
65ef393262
|
@ -73,7 +73,7 @@ public class FileTestHelper
|
|||
try (Stream<Path> s = Files.list(storeDirRoot))
|
||||
{
|
||||
return s
|
||||
.filter((path) -> path.getFileName().toString().contains(sessionId))
|
||||
.filter((path) -> path.getFileName().toString().endsWith("_" + sessionId))
|
||||
.findFirst()
|
||||
.map(Path::toFile)
|
||||
.orElse(null);
|
||||
|
|
Loading…
Reference in New Issue