Johnny Lim
c9932bb73a
Use AssertJ's fail, not JUnit's
...
This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.
See gh-37655
2 years ago
Phillip Webb
3d6859e80f
Use the term "uber jar" in reference documentation and javadoc
...
Update reference documentation and javadoc to use the term "uber jar"
rather than "fat jar".
Closes gh-37653
2 years ago
Andy Wilkinson
ed5d16de84
Upgrade to Jetty 12
...
Closes gh-36073
2 years ago
Phillip Webb
8edec21a6f
Update copyright year of changed files
2 years ago
Moritz Halbritter
032d92a9fb
Cleanup remote debug tunnel leftovers from devtools
...
Closes gh-36808
2 years ago
Moritz Halbritter
62fb45f75f
Replace contains/put/get pattern with computeIfAbsent
2 years ago
Moritz Halbritter
7bb337aeb1
Polish tests
2 years ago
Moritz Halbritter
ed9169501e
Polish
2 years ago
Moritz Halbritter
726d2e6678
Remove unnecessary synchronization
...
- on AtomicBoolean in SpringApplicationBuilder
- on SimpleFormatter
- in a private method in FileSystemWatcher which is always called in a
synchronized block
- Replaced synchronized guarded HashMap with ConcurrentHashMap
2 years ago
Moritz Halbritter
1a8b8ce26e
Revert "Revise synchronized blocks"
...
This reverts commit 497bbf9c2d .
2 years ago
Moritz Halbritter
497bbf9c2d
Revise synchronized blocks
...
- Replace synchronized with Lock when guarding long-running operations
- Remove unnecessary synchronization in FileSystemWatcher
- Replace HashMap with ConcurrentHashMap in Restarter
- Remove unnecessary locking on AtomicBoolean in
SpringApplicationBuilder
- Remove unnecessary locking in SimpleFormatter
Closes gh-36670
2 years ago
Andy Wilkinson
984dc1d58f
Allow package-private main classes to be used with Devtools
...
Fixes gh-35858
3 years ago
Phillip Webb
9bacf4218c
Set 'spring.docker.compose.readiness.wait' property in devtools
...
Default 'spring.docker.compose.readiness.wait' to `ONLY_IF_STARTED`
when using devtools.
See gh-35435
3 years ago
Stefano Cordio
d802ca017b
Small assertions improvements
...
See gh-34796
3 years ago
Marc Leroux
b61834c92d
Replace Mockito argument captors with assertArg
...
See gh-35015
3 years ago
Phillip Webb
6b646f6a8e
Update copyright year of changed files
3 years ago
Phillip Webb
4e6148f47b
Search for main methods from the bottom of the stack
...
Update `MainMethod` to search from the bottom of the stack rather than
the start. Prior to this commit, an incorrect `main` method would be
found if more than one `main` was in the stack.
Fixes gh-35214
3 years ago
Andy Wilkinson
6b9bc012a5
Check that BPP and BFPP bean methods won't cause eager initialization
...
Closes gh-35164
3 years ago
Phillip Webb
1849b82334
Don't apply configuration-properties from auto-configuration plugin
...
Update the auto-configuration gradle plugin so that the
configuration-properties plugin is not longer automatically applied.
This allows us to have auto-configuration modules that don't ship
configuration properties.
Closes gh-35028
3 years ago
Phillip Webb
00dc942e94
Migrate to Spring Security lambda config
...
Closes gh-35011
3 years ago
Andy Wilkinson
899ae9c37c
Upgrade to Mockito 5.3.0
...
Closes gh-34998
3 years ago
Phillip Webb
3e9a136143
Polish gradle formatting
3 years ago
Phillip Webb
d442bfbeff
Polish
3 years ago
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
3 years ago
Johnny Lim
70d561a929
Polish "Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools"
...
See gh-34140
3 years ago
Moritz Halbritter
2a843d1853
Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools
...
See gh-33855
3 years ago
Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
3 years ago
Phillip Webb
7c508fa324
Update copyright year of changed files
3 years ago
Moritz Halbritter
e8d809fe65
Replace 'via' with 'over' or 'through' in the documentation
...
Closes gh-33878
3 years ago
Phillip Webb
fad88232b9
Update copyright year of changed files
3 years ago
Moritz Halbritter
fd5fe97646
Remove spring.reactor.debug from devtools property defaults
...
Closes gh-33858
3 years ago
Moritz Halbritter
6ef73cddb2
Polish LocalDevToolsAutoConfiguration
3 years ago
Moritz Halbritter
b9ae61fc10
Disable devtools when running in a native image
...
See gh-32853
3 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
3 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
3 years ago
Phillip Webb
f588793445
Update copyright year of changed files
3 years ago
Phillip Webb
42aa661e69
Polish 'Fix typo in LocalDevToolsAutoConfiguration logging'
...
See gh-33569
3 years ago
Artur
549c9e5076
Fix typo in LocalDevToolsAutoConfiguration logging
...
See gh-33569
3 years ago
Moritz Halbritter
1754018a7b
Polish DevToolsDataSourceAutoConfiguration
3 years ago
Moritz Halbritter
f36e2ecb7b
Use AutoClosables with try-with-resources
...
Closes gh-33538
3 years ago
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
3 years ago
Andy Wilkinson
99edda735e
Polish
3 years ago
Madhura Bhave
ce3c933f77
Adapt to Spring Security changes
...
Closes gh-32604
3 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
3 years ago
Stephane Nicoll
e2dd0ef9a4
Adapt AotProcessor to changes in Spring Framework
...
Closes gh-32560
3 years ago
Andy Wilkinson
03b3a772c9
Adapt to PathMatchingResourcePatternResolver's behavior being reverted
...
See spring-projects/spring-framework#29163
3 years ago
Andy Wilkinson
7eb8abbda8
Adapt to PathMatchingResourcePatternResolver now matching root dir
...
See spring-projects/spring-framework#29163
3 years ago
Brian Clozel
a0735eb3fb
Migrate remaining usage of httpclient API
...
This commit migrates our remaining usage of the httpclient 4.x to use
instead httpclient5, now that the 4.x support has been removed in
`RestTemplate`.
Closes gh-32461
3 years ago
Brian Clozel
5fb2a50ad0
Adapt build dependencies to httpclient5
...
As htttpclient 4.x is not supported anymore by `RestTemplate`, this
commit changes such dependencies to httpclient5 instead. In some cases,
the httpclient 4.x was transitively brought by a non-Spring dependency.
See gh-32461
3 years ago
Andy Wilkinson
243075d3b2
Disable DevTools during AOT processing
...
Closes gh-32517
3 years ago