Browse Source

Polishing

pull/26556/head
Juergen Hoeller 5 years ago
parent
commit
ca8261cbf8
  1. 7
      spring-test/src/main/java/org/springframework/mock/web/MockHttpServletMapping.java
  2. 2
      spring-web/src/main/java/org/springframework/http/server/reactive/HttpHandlerDecoratorFactory.java
  3. 1
      spring-web/src/main/java/org/springframework/web/cors/reactive/PreFlightRequestHandler.java
  4. 7
      spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockHttpServletMapping.java

7
spring-test/src/main/java/org/springframework/mock/web/MockHttpServletMapping.java

@ -13,6 +13,7 @@ @@ -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 { @@ -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 + "]";
}
}

2
spring-web/src/main/java/org/springframework/http/server/reactive/HttpHandlerDecoratorFactory.java

@ -20,8 +20,10 @@ import java.util.function.Function; @@ -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> {
}

1
spring-web/src/main/java/org/springframework/web/cors/reactive/PreFlightRequestHandler.java

@ -13,6 +13,7 @@ @@ -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;

7
spring-web/src/testFixtures/java/org/springframework/web/testfixture/servlet/MockHttpServletMapping.java

@ -13,6 +13,7 @@ @@ -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 { @@ -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 + "]";
}
}

Loading…
Cancel
Save