Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit c79c54f

Browse files
committed
@ParametersAreNonNullByDefault annotation but parameter should be Nullable. fix jooby-project#955
1 parent 753323c commit c79c54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jooby/src/main/java/org/jooby/Route.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2462,7 +2462,7 @@ interface Chain {
24622462
* @param rsp A HTTP response.
24632463
* @throws Throwable If invocation goes wrong.
24642464
*/
2465-
void next(String prefix, Request req, Response rsp) throws Throwable;
2465+
void next(@Nullable String prefix, Request req, Response rsp) throws Throwable;
24662466

24672467
/**
24682468
* Invokes the next route in the chain.

0 commit comments

Comments
 (0)