Skip to content

Commit 4016c5d

Browse files
committed
Eliminate unnecessary lambda
1 parent 08d4e9d commit 4016c5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webauthn-server-attestation/src/main/java/com/yubico/fido/metadata/FidoMetadataDownloader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ private ByteArray download(URL url, Optional<String> etag) throws IOException, N
11311131
// FIDO MDS returns it like: `etag: 243`. Try both in case that changes in the
11321132
// future.
11331133
et.equals(responseEtag) || String.format("\"%s\"", et).equals(responseEtag))
1134-
.orElseGet(() -> false)) {
1134+
.orElse(false)) {
11351135
log.debug("Response ETag matches local ETag - interpreting as not modified.");
11361136
throw new NotModified();
11371137
}

0 commit comments

Comments
 (0)