Browse Source

Fix incorrect Javadoc

Closes gh-8744
Eleftheria Stein 5 years ago
parent
commit
12d20f99a1

+ 4 - 4
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");