1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ public interface RequestMatcher {
38
38
boolean matches (HttpServletRequest request );
39
39
40
40
/**
41
- * Returns a MatchResult for this RequestMatcher The default implementation returns
41
+ * Returns a MatchResult for this RequestMatcher. The default implementation returns
42
42
* {@link Collections#emptyMap()} when {@link MatchResult#getVariables()} is invoked.
43
43
* @return the MatchResult from comparing this RequestMatcher against the
44
44
* HttpServletRequest
@@ -50,7 +50,7 @@ default MatchResult matcher(HttpServletRequest request) {
50
50
}
51
51
52
52
/**
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
54
54
* false, of the match and if present, any variables extracted from the match
55
55
*
56
56
* @since 5.2
@@ -86,7 +86,7 @@ public Map<String, String> getVariables() {
86
86
87
87
/**
88
88
* 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
90
90
*/
91
91
public static MatchResult match () {
92
92
return new MatchResult (true , Collections .emptyMap ());
@@ -95,16 +95,16 @@ public static MatchResult match() {
95
95
/**
96
96
* Creates an instance of {@link MatchResult} that is a match with the specified
97
97
* variables
98
- * @param variables
99
- * @return
98
+ * @param variables the specified variables
99
+ * @return {@link MatchResult} that is a match with the specified variables
100
100
*/
101
101
public static MatchResult match (Map <String , String > variables ) {
102
102
return new MatchResult (true , variables );
103
103
}
104
104
105
105
/**
106
106
* Creates an instance of {@link MatchResult} that is not a match.
107
- * @return
107
+ * @return {@link MatchResult} that is not a match
108
108
*/
109
109
public static MatchResult notMatch () {
110
110
return new MatchResult (false , Collections .emptyMap ());
0 commit comments