We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e800a0 commit ea616baCopy full SHA for ea616ba
http-generator-core/src/main/java/io/avaje/http/generator/core/ControllerReader.java
@@ -287,9 +287,7 @@ public String path() {
287
return findAnnotation(ControllerPrism::getOptionalOn)
288
.map(ControllerPrism::value)
289
.filter(not(String::isBlank))
290
- .or(
291
- () ->
292
- findAnnotation(PathPrism::getOptionalOn).map(PathPrism::value))
+ .or(() -> findAnnotation(PathPrism::getOptionalOn).map(PathPrism::value))
293
.map(Util::trimPath)
294
.orElse(null);
295
}
0 commit comments