From 710d89ce9dc6dd9c9e56bec1960154aa37c29a1b Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Mon, 14 Feb 2022 16:39:12 -0500 Subject: [PATCH] Remove benign [WARNINGS] from batch build This is done by: 1) Enabling quiet for doc build so that it, "Shuts off non-error and non-warning messages," so that builders can focus on warnings. 2) Disable missing javadoc warnings. We will handle missing javadoc warnings in subsequent PRs. 3) Fix existing warnings that are in the batch code base. This reduces the number of [WARNING]s from 7171 down to 52 --- pom.xml | 4 +++- .../batch/core/repository/support/SimpleJobRepository.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 92443d2c0..d32aba8d0 100644 --- a/pom.xml +++ b/pom.xml @@ -126,7 +126,7 @@ 3.8.1 2.22.2 2.22.2 - 3.3.1 + 3.3.2 3.2.1 0.8.7 1.2.7 @@ -204,6 +204,8 @@ ${project.basedir}/spring-batch-docs/src/main/javadoc/overview.html false + all,-missing + true diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java b/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java index 4c92623b2..cadd9d4c2 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java @@ -45,7 +45,7 @@ import java.util.List; *

* Implementation of {@link JobRepository} that stores JobInstances, * JobExecutions, and StepExecutions using the injected DAOs. - *

+ *

* * @author Lucas Ward * @author Dave Syer