mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Decorate all Assert implementations with @CheckReturnValue
See gh-46766 Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
This commit is contained in:
committed by
Stéphane Nicoll
parent
458f7f6ac9
commit
b2b0fed285
@@ -6,6 +6,9 @@
|
||||
<allow pkg="io.micrometer.observation" />
|
||||
<disallow pkg="io.micrometer" />
|
||||
|
||||
<!-- Improve DevEx with fluent APIs -->
|
||||
<allow class="org.springframework.lang.CheckReturnValue" />
|
||||
|
||||
<!-- Use JSpecify for nullability (not Spring) -->
|
||||
<allow class="org.springframework.lang.Contract" />
|
||||
<disallow pkg="org.springframework.lang" />
|
||||
|
||||
Reference in New Issue
Block a user