From 12d20f99a189dd5d59ec3457eaf51fd96f81c9d3 Mon Sep 17 00:00:00 2001 From: Eleftheria Stein Date: Mon, 22 Jun 2020 13:14:34 +0200 Subject: [PATCH] Fix incorrect Javadoc Closes gh-8744 --- .../web/authentication/switchuser/SwitchUserFilter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java b/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java index 2f2caaeaf9..818e2490f5 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java @@ -437,7 +437,8 @@ public class SwitchUserFilter extends GenericFilterBean } /** - * Set the URL to respond to exit user processing. + * Set the URL to respond to exit user processing. This is a shortcut for + * {@link #setExitUserMatcher(RequestMatcher)}. * * @param exitUserUrl The exit user URL. */ @@ -448,10 +449,9 @@ public class SwitchUserFilter extends GenericFilterBean } /** - * Set the matcher to respond to exit user processing. This is a shortcut for - * {@link #setExitUserMatcher(RequestMatcher)} + * Set the matcher to respond to exit user processing. * - * @param exitUserMatcher The exit matcher to use + * @param exitUserMatcher The exit matcher to use. */ public void setExitUserMatcher(RequestMatcher exitUserMatcher) { Assert.notNull(exitUserMatcher, "exitUserMatcher cannot be null");