Skip to content

Commit 2a0879f

Browse files
committed
Fix typo
1 parent 345f312 commit 2a0879f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/spring/projectapi/web/release/ReleasesController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public EntityModel<Release> release(@PathVariable String id, @PathVariable Strin
8181
List<ProjectDocumentation> documentations = this.contentfulService.getProjectDocumentations(id);
8282
List<Release> releases = documentations.stream().map(this::asRelease).toList();
8383
Release release = releases.stream()
84-
.filter((candididate) -> candididate.getVersion().equals(version))
84+
.filter((candidate) -> candidate.getVersion().equals(version))
8585
.findFirst()
8686
.orElseThrow(() -> new ResourceNotFoundException(
8787
"Version '%s' cannot be found for project '%s'".formatted(version, id)));

0 commit comments

Comments
 (0)