11/*
2- * Copyright 2002-2019 the original author or authors.
2+ * Copyright 2002-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ public interface RequestMatcher {
3838 boolean matches (HttpServletRequest request );
3939
4040 /**
41- * Returns a MatchResult for this RequestMatcher The default implementation returns
41+ * Returns a MatchResult for this RequestMatcher. The default implementation returns
4242 * {@link Collections#emptyMap()} when {@link MatchResult#getVariables()} is invoked.
4343 * @return the MatchResult from comparing this RequestMatcher against the
4444 * HttpServletRequest
@@ -50,7 +50,7 @@ default MatchResult matcher(HttpServletRequest request) {
5050 }
5151
5252 /**
53- * The result of matching against an HttpServletRequest Contains the status, true or
53+ * The result of matching against an HttpServletRequest contains the status, true or
5454 * false, of the match and if present, any variables extracted from the match
5555 *
5656 * @since 5.2
@@ -86,7 +86,7 @@ public Map<String, String> getVariables() {
8686
8787 /**
8888 * Creates an instance of {@link MatchResult} that is a match with no variables
89- * @return
89+ * @return {@link MatchResult} that is a match with no variables
9090 */
9191 public static MatchResult match () {
9292 return new MatchResult (true , Collections .emptyMap ());
@@ -95,16 +95,16 @@ public static MatchResult match() {
9595 /**
9696 * Creates an instance of {@link MatchResult} that is a match with the specified
9797 * variables
98- * @param variables
99- * @return
98+ * @param variables the specified variables
99+ * @return {@link MatchResult} that is a match with the specified variables
100100 */
101101 public static MatchResult match (Map <String , String > variables ) {
102102 return new MatchResult (true , variables );
103103 }
104104
105105 /**
106106 * Creates an instance of {@link MatchResult} that is not a match.
107- * @return
107+ * @return {@link MatchResult} that is not a match
108108 */
109109 public static MatchResult notMatch () {
110110 return new MatchResult (false , Collections .emptyMap ());
0 commit comments