diff --git a/web/src/main/java/org/springframework/security/web/method/annotation/CsrfTokenArgumentResolver.java b/web/src/main/java/org/springframework/security/web/method/annotation/CsrfTokenArgumentResolver.java index 97f9b4cfe7..5fabb10625 100644 --- a/web/src/main/java/org/springframework/security/web/method/annotation/CsrfTokenArgumentResolver.java +++ b/web/src/main/java/org/springframework/security/web/method/annotation/CsrfTokenArgumentResolver.java @@ -28,12 +28,15 @@ import org.springframework.web.method.support.ModelAndViewContainer; * {@link RestController} will resolve the current {@link CsrfToken}: * *
- * @RestController
+ * 
+ * @RestController
  * public class MyController {
- *     @MessageMapping("/im")
+ *     @MessageMapping("/im")
  *     public CsrfToken csrf(CsrfToken token) {
  *         return token;
  *     }
+ * }
+ * 
  * 
* * @@ -44,7 +47,7 @@ public final class CsrfTokenArgumentResolver implements HandlerMethodArgumentRes /* * (non-Javadoc) - * + * * @see * org.springframework.web.method.support.HandlerMethodArgumentResolver#supportsParameter * (org.springframework.core.MethodParameter) @@ -55,7 +58,7 @@ public final class CsrfTokenArgumentResolver implements HandlerMethodArgumentRes /* * (non-Javadoc) - * + * * @see * org.springframework.web.method.support.HandlerMethodArgumentResolver#resolveArgument * (org.springframework.core.MethodParameter,