File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-test/src/main/java/org/springframework/test/web/servlet/setup Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2020 the original author or authors.
2+ * Copyright 2002-2021 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -130,7 +130,7 @@ public class StandaloneMockMvcBuilder extends AbstractMockMvcBuilder<StandaloneM
130130 @ Nullable
131131 private PathPatternParser patternParser ;
132132
133- private boolean useSuffixPatternMatch = true ;
133+ private boolean useSuffixPatternMatch = false ;
134134
135135 private boolean useTrailingSlashPatternMatch = true ;
136136
@@ -324,7 +324,7 @@ public void setPatternParser(PathPatternParser parser) {
324324 /**
325325 * Whether to use suffix pattern match (".*") when matching patterns to
326326 * requests. If enabled a method mapped to "/users" also matches to "/users.*".
327- * <p>The default value is {@code true }.
327+ * <p>The default value is {@code false }.
328328 * @deprecated as of 5.2.4. See class-level note in
329329 * {@link RequestMappingHandlerMapping} on the deprecation of path extension
330330 * config options.
You can’t perform that action at this time.
0 commit comments