Phillip Webb
3aeb18d618
Add license header to gradle files
...
See gh-46065
6 months ago
Phillip Webb
d66b28fcba
Update end copyright year to 'present'
...
See gh-46065
6 months ago
Johnny Lim
08c67cc353
Replace deprecated Project.task()
...
See gh-45009
Signed-off-by: Johnny Lim <izeye@naver.com>
8 months ago
Tran Ngoc Nhan
106e9f54ab
Migrate from AntPathRequestMatcher to PathPatternRequestMatcher
...
See gh-45163
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
8 months ago
Phillip Webb
2143d702f2
Polish boolean members that can use the default `false` value
8 months ago
Phillip Webb
c263c85de8
Start building against Spring Security 6.5.0-RC1 snapshots
...
See gh-45147
8 months ago
Andy Wilkinson
95d5e35ff2
Provide @ConditionalOn… annotations for all concrete conditions
...
Closes gh-41044
9 months ago
Andy Wilkinson
3a6e4e9e58
Add checks for factories files
...
META-INF/spring.factories and META-INF/spring/aot.factories in the
main source set are now checked. The checks verify that:
- Each class listed in the values exists in the source set's output
- The classes are listed alphabetically
- Nested classes are identified using their binary name
Closes gh-44676
9 months ago
Johnny Lim
c9320de559
Use consistent exception messages in Assert calls
...
See gh-44044
Signed-off-by: Johnny Lim <izeye@naver.com>
11 months ago
Phillip Webb
8ec61b9870
Polish 'Refactor `@ConfigurationProperties` that only use `prefix`'
...
See gh-43917
11 months ago
Yanming Zhou
c1d97ffe16
Refactor `@ConfigurationProperties` that only use `prefix`
...
See gh-43917
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
766c17fcdd
Polish "Replace @ConditionalOnProperty with …BooleanProperty where feasible"
...
See gh-43868
11 months ago
Yanming Zhou
960c8825e0
Replace @ConditionalOnProperty with …BooleanProperty where feasible
...
See gh-43868
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Phillip Webb
a49719d73e
Use consistent exception messages in Assert calls
...
Update `Assert` calls to consistently use messages of the form
"'item' must [not] ...".
Closes gh-43780
11 months ago
Phillip Webb
f08188d5cf
Change relevant Assert calls to throw IllegalStateException
...
Change certain Assert class from `assert...` to `assertState`
so that a more appropriate `IllegalStateException` is thrown.
Fixes gh-43779
11 months ago
Phillip Webb
86b6171edc
Introduce dedicated annotations to deal with boolean properties
...
Add `@ConditionalOnBooleanProperty` annotation to deal with
boolean properties and primarily for features that users toggle
using `.enabled` properties.
Closes gh-43704
11 months ago
Phillip Webb
170ff4eb23
Update copyright year of changed files
12 months ago
Phillip Webb
a8f3afc6b7
Fix incorrect imports
...
Fix accidentally committed imports.
See gh-43703
12 months ago
Phillip Webb
4c307d6fda
Switch away from using @ConditionalOnProperty prefix
...
Merge `prefix` into `name` attribute and simplify annotations
where possible.
Closes gh-43703
12 months ago
arefbehboudi
dbc1fc26e6
Polish
...
See gh-43560
1 year ago
Andy Wilkinson
bb3651b7d1
Reduce warnings reported by Eclipse
...
Closes gh-43269
1 year ago
Phillip Webb
3481107ff7
Update copyright year of changed files
1 year ago
Moritz Halbritter
ce106eb43c
Remove calls to deprecated Project.getBuildDir() in Gradle files
...
Closes gh-42739
1 year ago
Moritz Halbritter
a3060652f8
Call String.toLowerCase and .toUppercase with explicit locale
...
Closes gh-42719
1 year ago
Phillip Webb
ad72411e2b
Apply conventions plugin to all subprojects
...
Closes gh-42438
1 year ago
Johnny Lim
a0d1c10d8a
Polish
...
See gh-42340
1 year ago
Phillip Webb
aeafa20727
Prevent 'Recursive update' exceptions with Restarter
...
Update `Restarter` to prevent 'Recursive update' `IllegalStateException`
from being thrown. Calls to `objectFactory.getObject()` now happen
outside of `computeIfAbsent`.
Fixes gh-41571
1 year ago
Stéphane Nicoll
156237227c
Migrate MockMvc tests to MockMvcTester
...
See gh-41198
1 year ago
Phillip Webb
2a4582b084
Update copyright year of changed files
2 years ago
Phillip Webb
0c1c7e844c
Don't detect main method from launcher classes
...
Update `MainMethod` discovery so that launcher classes from the
`org.springframework.boot.loader` code are not considered. This restores
the behavior of Spring Boot 2.7.11 and allows remote restart of uber
jars without pulling the loader classes into the `RestartClassLoader`.
Fixes gh-39733
2 years ago
Ahmed Ashour
207327d97c
Use method references when possible in test code
...
See gh-40974
2 years ago
Phillip Webb
dcccb3b2b1
Polish "Use method references when possible"
...
See gh-40974
2 years ago
Ahmed Ashour
507229eef8
Use method references when possible
...
See gh-40974
2 years ago
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
2 years ago
Moritz Halbritter
ff66036e90
Remove redundant Regex escapes
...
Closes gh-40116
2 years ago
Stéphane Nicoll
49c97bf6ca
Avoid use of bean overriding in tests
...
See gh-40111
2 years ago
Phillip Webb
8f1a330dd5
Update copyright header of cleaned up code
...
See gh-39259
2 years ago
Phillip Webb
ddb769bf7f
Polish 'Simplify conditionals'
...
See gh-39259
2 years ago
Tobias Lippert
65a1ff84e6
Simplify conditionals
...
See gh-39259
2 years ago
Andy Wilkinson
45c32854a5
Fix Checkstyle upgrade
...
Closes gh-38746
2 years ago
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
2 years ago
Yanming Zhou
84f7c2dba9
Remove unnecessary `final` modifiers
...
See gh-38739
2 years ago
Moritz Halbritter
d095a5e47d
Polish RestartApplicationListenerTests
2 years ago
Moritz Halbritter
9152217c96
Fix JUnit's @Nested usage
2 years ago
Phillip Webb
d47f8bf945
Update copyright year of changed files
2 years ago
Andy Wilkinson
1f0e311cb8
Completely disable restart when running tests
...
Fixes gh-37373
2 years ago
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