Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit abeb820

Browse files
committedJun 25, 2025·
Fix NullAway findings
Signed-off-by: Stefano Cordio <[email protected]>
1 parent 140e0af commit abeb820

File tree

70 files changed

+364
-288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+364
-288
lines changed
 

‎pom.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@
191191
<!-- Check JSpecify annotations -->
192192
-Xep:NullAway:ERROR
193193
-XepOpt:NullAway:OnlyNullMarked
194+
-XepOpt:NullAway:CustomContractAnnotations=org.springframework.lang.Contract
194195
</compilerArg>
195196
</compilerArgs>
196197
<annotationProcessorPaths>

‎spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/DefaultJobLoader.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private Collection<Job> doLoad(ApplicationContextFactory factory, boolean unregi
222222
* @return all the {@link Step} defined by the given step locator and context
223223
* @see StepLocator
224224
*/
225-
private Collection<Step> getSteps(final StepLocator stepLocator, final ApplicationContext jobApplicationContext) {
225+
private Collection<Step> getSteps(StepLocator stepLocator, final ApplicationContext jobApplicationContext) {
226226
final Collection<String> stepNames = stepLocator.getStepNames();
227227
final Collection<Step> result = new ArrayList<>();
228228
for (String stepName : stepNames) {

0 commit comments

Comments
 (0)
Please sign in to comment.