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 @@
* 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 + "]";
} }
} }

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

@ -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> {
} }

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

@ -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;

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

@ -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 + "]";
} }
} }

Loading…
Cancel
Save