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 1
1
/*
2
- * Copyright 2002-2020 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -130,7 +130,7 @@ public class StandaloneMockMvcBuilder extends AbstractMockMvcBuilder<StandaloneM
130
130
@ Nullable
131
131
private PathPatternParser patternParser ;
132
132
133
- private boolean useSuffixPatternMatch = true ;
133
+ private boolean useSuffixPatternMatch = false ;
134
134
135
135
private boolean useTrailingSlashPatternMatch = true ;
136
136
@@ -324,7 +324,7 @@ public void setPatternParser(PathPatternParser parser) {
324
324
/**
325
325
* Whether to use suffix pattern match (".*") when matching patterns to
326
326
* 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 }.
328
328
* @deprecated as of 5.2.4. See class-level note in
329
329
* {@link RequestMappingHandlerMapping} on the deprecation of path extension
330
330
* config options.
You can’t perform that action at this time.
0 commit comments