Phillip Webb
3baf782822
Merge branch '1.5.x' into 2.0.x
2018-11-14 18:24:32 -08:00
Andy Wilkinson
89f5cfc5a4
Merge branch '1.5.x' into 2.0.x
2018-10-01 13:51:55 +01:00
dreis2211
66b1742f96
Optimize some StringBuilder.append() calls
...
Closes gh-13961
2018-08-01 08:41:03 +02:00
Phillip Webb
aeb885192e
Polish ternary expressions
2018-07-29 09:24:46 +01:00
Phillip Webb
63b609827e
Fix checkstyle method order issues
...
Fix checkstyle issues with method ordering following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:53 +01:00
Phillip Webb
7fc455654a
Fix checkstyle ternary issues
...
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:52 +01:00
Phillip Webb
9a9111af21
Support path discovery for main dispatcher servlet
...
Add an `DispatcherServletPath` interface which provides a much more
consistent way to discover the path of the main dispatcher servet.
Prior to this commit, auto-configurations would often make use of the
`ServerProperties` class to discover the dispatcher servlet path. This
mechanism isn't very explicit and also makes it hard for us to relocate
that property in Spring Boot 2.1.
This commit also reverts most of fddc9e9c7e
since it is now clear that
the supporting multiple dispatcher servlet paths will be much more
involved that we originally anticipated.
Closes gh-13834
2018-07-26 11:35:12 +01:00
Eddú Meléndez
065eebfb4b
Fix javadoc
...
Closes gh-13274
2018-05-28 09:26:16 +02:00
Phillip Webb
5b3cb8a698
Update copyright header year for changed files
2018-05-04 15:59:26 -07:00
Phillip Webb
6e09e497f2
Formatting
2018-05-04 12:06:19 -07:00
Phillip Webb
e125085993
Merge branch '1.5.x' into 2.0.x
2018-05-03 12:43:50 -07:00
Johnny Lim
d8700522d3
Rename nested *AutoConfiguration classes to *Configuration
...
Closes gh-12989
2018-04-30 16:50:18 +02:00
dreis2211
a930835b92
Replace <code> tags where possible
...
Closes gh-12922
2018-04-20 07:19:31 +02:00
Stephane Nicoll
b6f9b46be8
Only create a WebTestClient with WebFlux
...
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.
Closes gh-12318
2018-04-03 11:31:37 +02:00
Johnny Lim
c100510222
Remove value in @ConditionalOnMissingBean if possible
...
See gh-12604
2018-03-26 17:38:46 +02:00
Phillip Webb
a4b0be089d
Polish
2018-03-14 14:05:26 -07:00
Stephane Nicoll
5320081d0b
Revert "Only create a WebTestClient with WebFlux"
...
This reverts commit 282bd9f
2018-03-14 08:34:48 -04:00
Stephane Nicoll
282bd9f0db
Only create a WebTestClient with WebFlux
...
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.
Closes gh-12318
2018-03-14 05:12:45 -04:00
dreis2211
0d3f3e46dd
Fix typos
...
Closes gh-12468
2018-03-13 17:42:19 -07:00
inabajunmr
ddd8598e2e
Fix typo in TestDatabaseAutoConfiguration failure msg
...
See gh-12350
2018-03-05 13:10:46 -08:00
Phillip Webb
7bc535e4fa
Polish
2018-02-28 10:59:26 -08:00
Phillip Webb
67998e983f
Revert "Include WebSecurityConfigurer beans in @WebMvcTest"
...
This reverts commit eef6fdb066
.
2018-02-28 10:59:26 -08:00
Phillip Webb
eef6fdb066
Include WebSecurityConfigurer beans in @WebMvcTest
...
Update `WebMvcTypeExcludeFilter` to include `WebSecurityConfigurer`
beans.
Fixes gh-12275
2018-02-27 21:05:35 -08:00
Stephane Nicoll
306c79f0de
Merge branch '1.5.x'
2018-02-26 18:03:32 +01:00
Phillip Webb
4b9c3c137e
Polish Collection.toArray
...
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.
Fixes gh-12160
2018-02-22 21:11:30 -08:00
igor-suhorukov
fe023817c7
Polish static finals
...
Closes gh-12083
2018-02-19 20:10:58 -08:00
Andy Wilkinson
5522174e96
Provide package info for all packages included in javadoc
2018-02-08 16:50:37 +00:00
Andy Wilkinson
76a450dfba
Format with Eclipse Oxygen SR2
2018-02-08 10:53:53 +00:00
Madhura Bhave
7136bed126
Fix tests
2018-02-07 17:36:44 -08:00
Andy Wilkinson
875091ed85
Polish “Remove or use unused method parameters”
...
Closes gh-11812
2018-02-02 09:34:19 +00:00
Andy Wilkinson
458dde63a8
Explicitly order AbstractTestExecutionListener subclasses
...
By default, AbstractTestExecutionListeners have an order of lowest
precedence. This means that it is impossible to write a listener with
lower precedence that any listener that's using the default order.
This commit updates Boot's 6 AbstractTestExecutionListeners to order
them explicitly. MockitoTestExecutionListener performs injection of
Mockito mocks and spies into the test instance. It now has an order of
2050 giving it slightly lower precedence than the dependency injection
test execution listener (2000).
The remaining 5 listeners have all been ordered with lowest precedence
- 100. This leaves them near their current lowest precedence position
while creating some room for any listeners that require lower
precedence.
Closes gh-11796
2018-02-01 14:28:25 +00:00
Phillip Webb
dc935fba48
Polish
2018-01-19 20:44:18 -08:00
Madhura Bhave
5e2cc02499
Move servlet specific security auto-config
2018-01-20 09:41:50 +05:30
Phillip Webb
b078698f20
Update copyright year of changed files
2018-01-09 12:13:27 -08:00
Phillip Webb
b9bb31cfd4
Extract RestDocsProperties
...
Extract properties used by RestDocs to their own class.
2018-01-09 12:11:23 -08:00
Andy Wilkinson
964939d3a9
Polish "Add auto-configuration for using REST Docs with WebTestClient"
...
Closes gh-10696
2018-01-09 11:53:12 +00:00
Roman Zaynetdinov
ab7c47d340
Add auto-configuration for using REST Docs with WebTestClient
...
See gh-10969
2018-01-09 11:37:14 +00:00
Andy Wilkinson
16c52bce84
Introduce WebTestClientBuilderCustomizer callback
...
Closes gh-11579
2018-01-09 11:16:27 +00:00
Johnny Lim
b8706c47d6
Use instance equality for Class
...
Closes gh-11534
2018-01-09 09:30:36 +01:00
Stephane Nicoll
ac004eabf3
Update copyright header
...
See gh-11510
2018-01-05 10:30:43 +01:00
Johnny Lim
37d8eedae3
Polish
...
Closes gh-11510
2018-01-05 10:29:22 +01:00
Phillip Webb
2efa21c570
Make hot methods in-line friendly
...
Refactor a few hot methods so that they are more likely to be in-lined
by the JIT.
Fixes gh-11409
2017-12-22 20:55:47 -08:00
Phillip Webb
3273859fde
Polish
2017-12-13 14:32:55 -08:00
Stephane Nicoll
47c8b5731a
polish
2017-12-13 14:41:39 +01:00
Stephane Nicoll
7216a8fa38
Polish
...
See gh-11341
2017-12-13 14:22:57 +01:00
Brian Clozel
deb16e1617
Polish
2017-12-11 22:11:24 +01:00
Stephane Nicoll
5ef9364085
Polish
2017-12-11 17:55:12 +01:00
Johnny Lim
6d54072e04
Remove "final" keywords
...
Closes gh-11294
2017-12-08 11:13:07 -08:00
Stephane Nicoll
1620ac42b3
Polish contribution
...
Closes gh-11143
2017-11-27 10:14:34 +01:00
Johnny Lim
d9828a0aaa
Polish
...
See gh-11143
2017-11-27 10:14:18 +01:00