Polishing

This commit is contained in:
Juergen Hoeller 2021-02-15 17:18:01 +01:00
parent 8de10e9199
commit ca8261cbf8
4 changed files with 11 additions and 6 deletions

View File

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.mock.web;
import javax.servlet.http.HttpServletMapping;
@ -72,9 +73,9 @@ public class MockHttpServletMapping implements HttpServletMapping {
@Override
public String toString() {
return "MockHttpServletMapping [matchValue=\"" + matchValue + "\", " +
"pattern=\"" + pattern + "\", servletName=\"" + servletName + "\", " +
"mappingMatch=" + mappingMatch + "]";
return "MockHttpServletMapping [matchValue=\"" + this.matchValue + "\", " +
"pattern=\"" + this.pattern + "\", servletName=\"" + this.servletName + "\", " +
"mappingMatch=" + this.mappingMatch + "]";
}
}

View File

@ -20,8 +20,10 @@ import java.util.function.Function;
/**
* Contract for applying a decorator to an {@code HttpHandler}.
*
* @author Christophe Maillard
* @since 5.3.4
*/
public interface HttpHandlerDecoratorFactory extends Function<HttpHandler, HttpHandler> {
}

View File

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.web.cors.reactive;
import reactor.core.publisher.Mono;

View File

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.web.testfixture.servlet;
import javax.servlet.http.HttpServletMapping;
@ -72,9 +73,9 @@ public class MockHttpServletMapping implements HttpServletMapping {
@Override
public String toString() {
return "MockHttpServletMapping [matchValue=\"" + matchValue + "\", " +
"pattern=\"" + pattern + "\", servletName=\"" + servletName + "\", " +
"mappingMatch=" + mappingMatch + "]";
return "MockHttpServletMapping [matchValue=\"" + this.matchValue + "\", " +
"pattern=\"" + this.pattern + "\", servletName=\"" + this.servletName + "\", " +
"mappingMatch=" + this.mappingMatch + "]";
}
}