Skip to content

Commit d328e43

Browse files
committed
Fix Javadoc errors
1 parent 9326398 commit d328e43

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/BatchConfigurationException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class BatchConfigurationException extends RuntimeException {
2929
private static final long serialVersionUID = 1L;
3030

3131
/**
32-
* Create an exception with the given {@Link Throwable}.
32+
* Create an exception with the given {@link Throwable}.
3333
* @param t an exception to be wrapped
3434
*/
3535
public BatchConfigurationException(Throwable t) {

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/ModularBatchConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class ModularBatchConfiguration extends SimpleBatchConfiguration {
4747
/**
4848
* Creates a {@link AutomaticJobRegistrar} bean.
4949
* @return a new instance of {@link AutomaticJobRegistrar}.
50-
* @throws an {@link Exception} if an error occurs.
50+
* @throws Exception if an error occurs.
5151
*/
5252
@Bean
5353
public AutomaticJobRegistrar jobRegistrar() throws Exception {

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml/AbstractFlowParser.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ public static Collection<BeanDefinition> getNextElements(ParserContext parserCon
283283
}
284284

285285
/**
286-
* Retrieve a list of {@link StateTransition} instances from a {@link ParserContext}.
286+
* Retrieve a list of
287+
* {@link org.springframework.batch.core.job.flow.support.StateTransition} instances
288+
* from a {@link ParserContext}.
287289
* @param parserContext The parser context for the bean factory
288290
* @param stepId The ID of the current state if it is a step state, null otherwise
289291
* @param stateDef The bean definition for the current state
@@ -431,7 +433,8 @@ protected static Collection<BeanDefinition> createTransition(FlowExecutionStatus
431433
/**
432434
* Gets the batch status from the end transition name by the element.
433435
* @param elementName An end transition element name
434-
* @return the {@link BatchStatus} corresponding to the transition name.
436+
* @return the {@link org.springframework.batch.core.BatchStatus} corresponding to the
437+
* transition name.
435438
*/
436439
protected static FlowExecutionStatus getBatchStatusFromEndTransitionName(String elementName) {
437440
elementName = stripNamespace(elementName);

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml/StepParserStepFactoryBean.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import org.springframework.batch.core.partition.support.Partitioner;
3939
import org.springframework.batch.core.partition.support.StepExecutionAggregator;
4040
import org.springframework.batch.core.repository.JobRepository;
41+
import org.springframework.batch.core.step.AbstractStep;
4142
import org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder;
4243
import org.springframework.batch.core.step.builder.FaultTolerantStepBuilder;
4344
import org.springframework.batch.core.step.builder.FlowStepBuilder;

spring-batch-core/src/main/java/org/springframework/batch/core/explore/JobExplorer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ default JobInstance getLastJobInstance(String jobName) {
8686
StepExecution getStepExecution(@Nullable Long jobExecutionId, @Nullable Long stepExecutionId);
8787

8888
/**
89-
* @param instanceId {@link Long} The ID for the {@link jobInstance} to obtain.
89+
* @param instanceId {@link Long} The ID for the {@link JobInstance} to obtain.
9090
* @return the {@code JobInstance} that has this ID, or {@code null} if not found.
9191
*/
9292
@Nullable
@@ -150,8 +150,8 @@ default JobExecution getLastJobExecution(JobInstance jobInstance) {
150150
* @param jobName The name of the job for which to query.
151151
* @return the number of {@link JobInstance}s that exist within the associated job
152152
* repository.
153-
* @throws {@code NoSuchJobException} thrown when there is no {@link JobInstance} for
154-
* the jobName specified.
153+
* @throws NoSuchJobException thrown when there is no {@link JobInstance} for the
154+
* jobName specified.
155155
*/
156156
int getJobInstanceCount(@Nullable String jobName) throws NoSuchJobException;
157157

spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/AbstractJobExplorerFactoryBean.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,28 @@ public abstract class AbstractJobExplorerFactoryBean implements FactoryBean<JobE
3737
/**
3838
* Creates a job instance data access object (DAO).
3939
* @return a fully configured {@link JobInstanceDao} implementation.
40-
* @throws {@code Exception} thrown if error occurs during JobInstanceDao creation.
40+
* @throws Exception thrown if error occurs during JobInstanceDao creation.
4141
*/
4242
protected abstract JobInstanceDao createJobInstanceDao() throws Exception;
4343

4444
/**
4545
* Creates a job execution data access object (DAO).
4646
* @return a fully configured {@link JobExecutionDao} implementation.
47-
* @throws {@code Exception} thrown if error occurs during JobExecutionDao creation.
47+
* @throws Exception thrown if error occurs during JobExecutionDao creation.
4848
*/
4949
protected abstract JobExecutionDao createJobExecutionDao() throws Exception;
5050

5151
/**
5252
* Creates a step execution data access object (DAO).
5353
* @return a fully configured {@link StepExecutionDao} implementation.
54-
* @throws {@code Exception} thrown if error occurs during StepExecutionDao creation.
54+
* @throws Exception thrown if error occurs during StepExecutionDao creation.
5555
*/
5656
protected abstract StepExecutionDao createStepExecutionDao() throws Exception;
5757

5858
/**
5959
* Creates an execution context instance data access object (DAO).
6060
* @return fully configured {@link ExecutionContextDao} implementation.
61-
* @throws {@code Exception} thrown if error occurs during ExecutionContextDao
62-
* creation.
61+
* @throws Exception thrown if error occurs during ExecutionContextDao creation.
6362
*/
6463
protected abstract ExecutionContextDao createExecutionContextDao() throws Exception;
6564

0 commit comments

Comments
 (0)