Ahmed Ashour
207327d97c
Use method references when possible in test code
...
See gh-40974
2024-06-11 12:58:00 -07:00
Phillip Webb
dcccb3b2b1
Polish "Use method references when possible"
...
See gh-40974
2024-06-11 12:57:59 -07:00
Ahmed Ashour
507229eef8
Use method references when possible
...
See gh-40974
2024-06-11 12:57:55 -07:00
Andy Wilkinson
f25dc86a3a
Merge branch '3.2.x'
...
Closes gh-40441
2024-04-19 10:58:06 +01:00
Andy Wilkinson
c55f136c2a
Merge branch '3.1.x' into 3.2.x
...
Closes gh-40440
2024-04-19 10:57:47 +01:00
Andy Wilkinson
5e9161f785
Make DevToolsDataSourceAutoConfiguration back off without DataSource class
...
Manually tested as an automated test is prohibitively difficult as it
requires hiding one of the JDK's own classes.
Closes gh-40434
2024-04-19 10:54:23 +01:00
Moritz Halbritter
3ab21ce146
Merge branch '3.2.x'
...
Closes gh-40118
2024-03-27 09:42:59 +01:00
Moritz Halbritter
957facf1cc
Merge branch '3.1.x' into 3.2.x
...
Closes gh-40117
2024-03-27 09:35:44 +01:00
Moritz Halbritter
ff66036e90
Remove redundant Regex escapes
...
Closes gh-40116
2024-03-27 09:34:28 +01:00
Stéphane Nicoll
49c97bf6ca
Avoid use of bean overriding in tests
...
See gh-40111
2024-03-27 09:08:07 +01:00
Phillip Webb
8f1a330dd5
Update copyright header of cleaned up code
...
See gh-39259
2024-01-23 10:18:50 -08:00
Phillip Webb
ddb769bf7f
Polish 'Simplify conditionals'
...
See gh-39259
2024-01-23 09:47:07 -08:00
Tobias Lippert
65a1ff84e6
Simplify conditionals
...
See gh-39259
2024-01-23 09:07:40 -08:00
Andy Wilkinson
7087897507
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39091
2024-01-11 10:33:57 +00:00
Andy Wilkinson
45c32854a5
Fix Checkstyle upgrade
...
Closes gh-38746
2024-01-10 15:37:38 +00:00
Phillip Webb
246a0e6f21
Merge branch '3.1.x'
...
Closes gh-38878
2023-12-19 23:10:49 -08:00
Yanming Zhou
8cb8999772
Ban call of URLEncoder.encode/URLDecoder.decode(String,String)
...
Add ArchUnit rules to ban the use of `URLEncoder` calls with String
charsets and use `Charset` calls instead.
See gh-38740
2023-12-19 23:10:18 -08:00
Phillip Webb
5354ad15b3
Merge branch '3.1.x'
...
Closes gh-38877
2023-12-19 22:51:48 -08:00
Yanming Zhou
84f7c2dba9
Remove unnecessary `final` modifiers
...
See gh-38739
2023-12-19 22:38:14 -08:00
Moritz Halbritter
20edbb402f
Merge branch '3.1.x'
2023-10-31 10:23:13 +01:00
Moritz Halbritter
607ed86edb
Merge branch '3.0.x' into 3.1.x
2023-10-31 10:23:01 +01:00
Moritz Halbritter
d095a5e47d
Polish RestartApplicationListenerTests
2023-10-31 09:49:01 +01:00
Moritz Halbritter
9152217c96
Fix JUnit's @Nested usage
2023-10-31 09:49:01 +01:00
Phillip Webb
3eeb1b2849
Merge branch '3.1.x'
2023-10-19 23:21:42 -07:00
Phillip Webb
9f3afb3636
Merge branch '3.0.x' into 3.1.x
2023-10-19 23:21:20 -07:00
Phillip Webb
7c864804d5
Merge branch '2.7.x' into 3.0.x
2023-10-19 23:21:08 -07:00
Phillip Webb
d47f8bf945
Update copyright year of changed files
2023-10-19 23:20:43 -07:00
Andy Wilkinson
9460f301b4
Merge branch '3.1.x'
...
Closes gh-37921
2023-10-18 10:07:14 +01:00
Andy Wilkinson
60a0b7eedb
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37920
2023-10-18 10:07:01 +01:00
Andy Wilkinson
85c186a764
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37919
2023-10-18 10:01:49 +01:00
Andy Wilkinson
1f0e311cb8
Completely disable restart when running tests
...
Fixes gh-37373
2023-10-18 09:52:47 +01:00
Andy Wilkinson
7d40a45b50
Merge branch '3.1.x'
...
Closes gh-37662
2023-10-03 11:21:29 +01:00
Andy Wilkinson
a4100e12ff
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37661
2023-10-03 11:05:51 +01:00
Andy Wilkinson
931584f8af
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37659
2023-10-03 10:28:51 +01:00
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
2023-10-03 10:11:12 +01:00
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
2023-10-02 23:01:34 -07:00
Andy Wilkinson
ed5d16de84
Upgrade to Jetty 12
...
Closes gh-36073
2023-09-07 13:59:15 +01:00
Phillip Webb
8edec21a6f
Update copyright year of changed files
2023-08-13 20:44:44 -07:00
Moritz Halbritter
9e670b81ea
Merge branch '3.1.x'
...
Closes gh-36820
2023-08-09 08:58:16 +02:00
Moritz Halbritter
1a8bd1cfe5
Merge branch '3.0.x' into 3.1.x
...
Closes gh-36819
2023-08-09 08:58:03 +02:00
Moritz Halbritter
95b0b62b0a
Merge branch '2.7.x' into 3.0.x
...
Closes gh-36818
2023-08-09 08:52:28 +02:00
Moritz Halbritter
032d92a9fb
Cleanup remote debug tunnel leftovers from devtools
...
Closes gh-36808
2023-08-09 08:45:17 +02:00
Moritz Halbritter
62fb45f75f
Replace contains/put/get pattern with computeIfAbsent
2023-08-08 13:12:47 +02:00
Moritz Halbritter
7bb337aeb1
Polish tests
2023-08-08 13:12:47 +02:00
Moritz Halbritter
ed9169501e
Polish
2023-08-08 13:12:47 +02:00
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
2023-08-03 17:33:52 +02:00
Moritz Halbritter
1a8b8ce26e
Revert "Revise synchronized blocks"
...
This reverts commit 497bbf9c2d
.
2023-08-03 17:26:31 +02:00
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
2023-08-03 09:23:46 +02:00
Andy Wilkinson
e12ae5add5
Merge branch '3.0.x' into 3.1.x
...
Closes gh-35865
2023-06-13 13:52:10 +01:00
Andy Wilkinson
bdbbbc6470
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35864
2023-06-13 13:51:51 +01:00
Andy Wilkinson
984dc1d58f
Allow package-private main classes to be used with Devtools
...
Fixes gh-35858
2023-06-13 13:50:27 +01:00
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
2023-05-17 16:27:00 -07:00
Stefano Cordio
d802ca017b
Small assertions improvements
...
See gh-34796
2023-05-10 08:38:07 +02:00
Marc Leroux
b61834c92d
Replace Mockito argument captors with assertArg
...
See gh-35015
2023-05-05 11:34:55 +02:00
Phillip Webb
a890323758
Merge branch '3.0.x'
2023-05-02 14:52:42 -07:00
Phillip Webb
0f242ab3f7
Merge branch '2.7.x' into 3.0.x
2023-05-02 14:52:16 -07:00
Phillip Webb
6b646f6a8e
Update copyright year of changed files
2023-05-02 14:52:12 -07:00
Phillip Webb
2c0edfd0b5
Merge branch '3.0.x'
...
Closes gh-35221
2023-05-01 15:35:23 -07:00
Phillip Webb
67abe3f88e
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35220
2023-05-01 15:34:59 -07:00
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
2023-05-01 13:43:40 -07:00
Andy Wilkinson
9a0b5e0178
Merge branch '3.0.x'
...
Closes gh-35173
2023-04-26 12:48:50 +01:00
Andy Wilkinson
7ee1622995
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35172
2023-04-26 12:48:16 +01:00
Andy Wilkinson
6b9bc012a5
Check that BPP and BFPP bean methods won't cause eager initialization
...
Closes gh-35164
2023-04-26 11:47:03 +01:00
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
2023-04-17 00:41:25 -07:00
Phillip Webb
00dc942e94
Migrate to Spring Security lambda config
...
Closes gh-35011
2023-04-14 17:39:48 -07:00
Andy Wilkinson
899ae9c37c
Upgrade to Mockito 5.3.0
...
Closes gh-34998
2023-04-14 18:34:25 +01:00
Phillip Webb
3ba3558cff
Merge branch '2.7.x' into 3.0.x
2023-04-10 21:14:34 -07:00
Phillip Webb
3e9a136143
Polish gradle formatting
2023-04-10 21:14:09 -07:00
Phillip Webb
d442bfbeff
Polish
2023-04-10 16:22:11 -07:00
Phillip Webb
0b15962aca
Merge branch '2.7.x' into 3.0.x
2023-02-22 18:36:16 -08:00
Phillip Webb
c4de86c244
Merge branch '2.7.x' into 3.0.x
2023-02-21 23:17:57 -08:00
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
2023-02-21 22:53:27 -08:00
Andy Wilkinson
68f97f5361
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34184
2023-02-14 20:02:01 +00:00
Johnny Lim
70d561a929
Polish "Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools"
...
See gh-34140
2023-02-14 20:01:22 +00:00
Moritz Halbritter
b28369d511
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34036
2023-02-01 09:44:30 +01:00
Moritz Halbritter
2a843d1853
Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools
...
See gh-33855
2023-02-01 09:31:41 +01:00
Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
2023-01-31 10:20:06 +01:00
Phillip Webb
71efc55bf9
Merge branch '2.7.x'
2023-01-18 16:31:53 -08:00
Phillip Webb
7c508fa324
Update copyright year of changed files
2023-01-18 15:37:58 -08:00
Moritz Halbritter
94f4a4396c
Merge branch '2.7.x'
...
Closes gh-33880
2023-01-18 17:35:52 +01:00
Moritz Halbritter
e8d809fe65
Replace 'via' with 'over' or 'through' in the documentation
...
Closes gh-33878
2023-01-18 16:56:42 +01:00
Phillip Webb
fad88232b9
Update copyright year of changed files
2023-01-17 10:12:38 -08:00
Moritz Halbritter
9c1530d865
Merge branch '2.7.x'
...
Closes gh-33860
2023-01-17 15:43:11 +01:00
Moritz Halbritter
fd5fe97646
Remove spring.reactor.debug from devtools property defaults
...
Closes gh-33858
2023-01-17 15:42:34 +01:00
Moritz Halbritter
2553923d47
Merge branch '2.7.x'
2023-01-17 11:24:25 +01:00
Moritz Halbritter
6ef73cddb2
Polish LocalDevToolsAutoConfiguration
2023-01-17 10:44:07 +01:00
Moritz Halbritter
b9ae61fc10
Disable devtools when running in a native image
...
See gh-32853
2023-01-11 14:30:37 +01:00
Phillip Webb
a2ac38e203
Update copyright year of changed files
2023-01-09 15:46:07 -08:00
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
2023-01-09 11:10:20 +01:00
Phillip Webb
f588793445
Update copyright year of changed files
2022-12-22 01:00:42 -08:00
Phillip Webb
94819ee313
Merge branch '2.7.x'
...
Closes gh-33615
2022-12-21 22:39:34 -08:00
Phillip Webb
42aa661e69
Polish 'Fix typo in LocalDevToolsAutoConfiguration logging'
...
See gh-33569
2022-12-21 22:35:38 -08:00
Artur
549c9e5076
Fix typo in LocalDevToolsAutoConfiguration logging
...
See gh-33569
2022-12-21 22:35:05 -08:00
Moritz Halbritter
1754018a7b
Polish DevToolsDataSourceAutoConfiguration
2022-12-16 15:56:45 +01:00
Moritz Halbritter
f36e2ecb7b
Use AutoClosables with try-with-resources
...
Closes gh-33538
2022-12-16 15:43:15 +01:00
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
2022-12-16 14:28:44 +01:00
Andy Wilkinson
99edda735e
Polish
2022-10-25 12:57:58 +01:00
Madhura Bhave
ce3c933f77
Adapt to Spring Security changes
...
Closes gh-32604
2022-10-19 11:46:27 -07:00
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
2022-10-04 00:29:22 -07:00
Stephane Nicoll
e2dd0ef9a4
Adapt AotProcessor to changes in Spring Framework
...
Closes gh-32560
2022-09-30 16:47:03 +02:00