This commit is contained in:
Andy Wilkinson
2018-04-05 09:31:17 +01:00
parent b13b3be2f1
commit f335ec00bf
6 changed files with 11 additions and 12 deletions

View File

@@ -141,7 +141,7 @@ public final class Verify {
private ZipEntry getEntryStartingWith(String entryName) {
return this.content.entrySet().stream()
.filter(entry -> entry.getKey().startsWith(entryName))
.filter((entry) -> entry.getKey().startsWith(entryName))
.map(Map.Entry::getValue).findFirst()
.orElseThrow(() -> new IllegalStateException(
"Unable to find entry starting with " + entryName));