Decorate all Assert implementations with @CheckReturnValue

See gh-46766

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
This commit is contained in:
Stefano Cordio
2025-12-19 10:39:37 +01:00
committed by Stéphane Nicoll
parent 458f7f6ac9
commit b2b0fed285
14 changed files with 164 additions and 10 deletions
+3
View File
@@ -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" />