Fix checkstyle errors

master
Arjen Poutsma 6 years ago
parent b4fc7943e1
commit 37a3765a4e
  1. 2
      spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RequestPredicates.java
  2. 2
      spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctions.java

@ -81,7 +81,7 @@ public abstract class RequestPredicates {
/**
* Return a {@code RequestPredicate} that matches if the request's HTTP method is equal to the
* given method
* given method.
* @param httpMethod the HTTP method to match against
* @return a predicate that tests against the given HTTP method
*/

@ -483,7 +483,7 @@ public abstract class RouterFunctions {
* {@code OrderController.routerFunction()}.
* to the {@code changeUser} method in {@code userController}:
* <pre class="code">
* RouterFunction<ServerResponse> route =
* RouterFunction&lt;ServerResponse&gt; route =
* RouterFunctions.route()
* .GET("/users", userController::listUsers)
* .add(orderController.routerFunction());

Loading…
Cancel
Save