Skip to content

Commit ea616ba

Browse files
committed
Update ControllerReader.java
1 parent 6e800a0 commit ea616ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

http-generator-core/src/main/java/io/avaje/http/generator/core/ControllerReader.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,7 @@ public String path() {
287287
return findAnnotation(ControllerPrism::getOptionalOn)
288288
.map(ControllerPrism::value)
289289
.filter(not(String::isBlank))
290-
.or(
291-
() ->
292-
findAnnotation(PathPrism::getOptionalOn).map(PathPrism::value))
290+
.or(() -> findAnnotation(PathPrism::getOptionalOn).map(PathPrism::value))
293291
.map(Util::trimPath)
294292
.orElse(null);
295293
}

0 commit comments

Comments
 (0)