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

View File

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

View File

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

View File

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