diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java index 76df36c1c..c190826d3 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java @@ -58,7 +58,8 @@ public class ExecutionContext implements Serializable { } /** - * Initializes a new execution context with the contents of another executionContext. + * Initializes a new {@link ExecutionContext} with the contents of another + * {@code ExecutionContext}. * * @param executionContext containing the entries to be copied to this current context. */ diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/KeyValueItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/KeyValueItemWriter.java index 79ecca123..150856694 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/KeyValueItemWriter.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/KeyValueItemWriter.java @@ -70,7 +70,7 @@ public abstract class KeyValueItemWriter implements ItemWriter, Initial * Sets the delete flag to have the item writer perform deletes * * @param delete if true {@link ItemWriter} will perform deletes, - * if False not to perform deletes. + * if false not to perform deletes. */ public void setDelete(boolean delete) { this.delete = delete; diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/adapter/AbstractMethodInvokingDelegator.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/adapter/AbstractMethodInvokingDelegator.java index d5f8ffe21..848b014e0 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/adapter/AbstractMethodInvokingDelegator.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/adapter/AbstractMethodInvokingDelegator.java @@ -53,7 +53,7 @@ public abstract class AbstractMethodInvokingDelegator implements Initializing * * @return object returned by invoked method * - * @throws Exception if the {@link MethodInvoker} used, throws an Exception. + * @throws Exception exception thrown when executing the delegate method. */ protected T invokeDelegateMethod() throws Exception { MethodInvoker invoker = createMethodInvoker(targetObject, targetMethod); @@ -67,7 +67,7 @@ public abstract class AbstractMethodInvokingDelegator implements Initializing * @param object argument for the target method * @return object returned by target method * - * @throws Exception if the {@link MethodInvoker} used throws exception + * @throws Exception exception thrown when executing the delegate method. */ protected T invokeDelegateMethodWithArgument(Object object) throws Exception { MethodInvoker invoker = createMethodInvoker(targetObject, targetMethod); @@ -81,7 +81,7 @@ public abstract class AbstractMethodInvokingDelegator implements Initializing * @param args arguments for the invoked method * @return object returned by invoked method * - * @throws Exception if the {@link MethodInvoker} used, throws an exception + * @throws Exception exception thrown when executing the delegate method. */ protected T invokeDelegateMethodWithArguments(Object[] args) throws Exception { MethodInvoker invoker = createMethodInvoker(targetObject, targetMethod); diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/orm/JpaQueryProvider.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/orm/JpaQueryProvider.java index 49f349400..5850e47ff 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/orm/JpaQueryProvider.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/orm/JpaQueryProvider.java @@ -42,7 +42,7 @@ public interface JpaQueryProvider { /** * Provide an {@link EntityManager} for the query to be built. * - * @param entityManager to be used by the JpQueryProvider. + * @param entityManager to be used by the {@link JpaQueryProvider}. */ void setEntityManager(EntityManager entityManager); diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/FlatFileItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/FlatFileItemWriter.java index a554b2e95..5b82b06e8 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/FlatFileItemWriter.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/FlatFileItemWriter.java @@ -221,8 +221,7 @@ InitializingBean { * headerCallback will be called before writing the first item to file. * Newline will be automatically appended after the header is written. * - * @param headerCallback {@link FlatFileHeaderCallback} to be used after - * header is written. + * @param headerCallback {@link FlatFileHeaderCallback} to generate the header * */ public void setHeaderCallback(FlatFileHeaderCallback headerCallback) { @@ -233,8 +232,7 @@ InitializingBean { * footerCallback will be called after writing the last item to file, but * before the file is closed. * - * @param footerCallback {@link FlatFileFooterCallback} to be used after - * footer is written. + * @param footerCallback {@link FlatFileFooterCallback} to generate the footer * */ public void setFooterCallback(FlatFileFooterCallback footerCallback) { diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/MultiResourceItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/MultiResourceItemWriter.java index 48c73eb53..a918aa12a 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/MultiResourceItemWriter.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/MultiResourceItemWriter.java @@ -102,8 +102,8 @@ public class MultiResourceItemWriter extends AbstractItemStreamItemWriter * After this limit is exceeded the next chunk will be written into newly * created resource. * - * @param itemCountLimitPerResource int containing the limit to determine - * when the next chunk will be written to a newly created resource. + * @param itemCountLimitPerResource int item threshold used to determine when a new + * resource should be created. */ public void setItemCountLimitPerResource(int itemCountLimitPerResource) { this.itemCountLimitPerResource = itemCountLimitPerResource; @@ -133,8 +133,7 @@ public class MultiResourceItemWriter extends AbstractItemStreamItemWriter /** - * Establishes that state of each resource is saved to the context when - * update is called. + * Indicates that the state of the reader will be saved after each commit. * * @param saveState true the state is saved. */ diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/SimpleBinaryBufferedReaderFactory.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/SimpleBinaryBufferedReaderFactory.java index 9269bfe8a..bc90eaa2f 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/SimpleBinaryBufferedReaderFactory.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/SimpleBinaryBufferedReaderFactory.java @@ -44,7 +44,7 @@ public class SimpleBinaryBufferedReaderFactory implements BufferedReaderFactory private String lineEnding = DEFAULT_LINE_ENDING; /** - * @param lineEnding {@link String} contains the line ending to use. + * @param lineEnding {@link String} indicating what defines the end of a "line". */ public void setLineEnding(String lineEnding) { this.lineEnding = lineEnding; diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/DefaultFieldSet.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/DefaultFieldSet.java index dd5374258..a7018332b 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/DefaultFieldSet.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/DefaultFieldSet.java @@ -667,7 +667,7 @@ public class DefaultFieldSet implements FieldSet { /** * Retrieve the index of where a specified column is located based on the - * name parameter. + * {@code name} parameter. * * @param name the value to search in the {@link List} of names. * @return the index in the {@link List} of names where the name was found. diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/FieldSet.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/FieldSet.java index 7bab53b38..05991304a 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/FieldSet.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/FieldSet.java @@ -1,4 +1,4 @@ -/* + /* * Copyright 2006-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -59,15 +59,15 @@ public interface FieldSet { * @param index the field index. * @return {@link String} containing the value at the index. * - * @throws IndexOutOfBoundsException if the index is out of bounds. + * @throws IndexOutOfBoundsException if the {@code index} is out of bounds. */ String readString(int index); /** * Read the {@link String} value from column with given 'name'. * - * @param name the field name. - * @return {@link String} containing the value from the specified name. + * @param name the field {@code name}. + * @return {@link String} containing the value from the specified {@code name}. */ String readString(String name); @@ -76,9 +76,9 @@ public interface FieldSet { * trailing whitespace (don't trim). * * @param index the field index. - * @return {@link String} containing the value from the specified index. + * @return {@link String} containing the value from the specified {@code index}. * - * @throws IndexOutOfBoundsException if the index is out of bounds. + * @throws IndexOutOfBoundsException if the {@code index} is out of bounds. */ String readRawString(int index); @@ -86,8 +86,8 @@ public interface FieldSet { * Read the {@link String} value from column with given 'name' * including trailing whitespace (don't trim). * - * @param name the field name. - * @return {@link String} containing the value from the specified name. + * @param name the field {@code name}. + * @return {@link String} containing the value from the specified {@code name}. */ String readRawString(String name); @@ -95,19 +95,19 @@ public interface FieldSet { * Read the 'boolean' value at index 'index'. * * @param index the field index. - * @return boolean containing the value from the specified index. + * @return boolean containing the value from the specified {@code index}. * - * @throws IndexOutOfBoundsException if the index is out of bounds. + * @throws IndexOutOfBoundsException if the {@code index} is out of bounds. */ boolean readBoolean(int index); /** * Read the 'boolean' value from column with given 'name'. * - * @param name the field name. - * @return boolean containing the value from the specified name. + * @param name the field {@code name}. + * @return boolean containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ boolean readBoolean(String name); @@ -118,7 +118,7 @@ public interface FieldSet { * @param index the field index. * @param trueValue the value that signifies {@link Boolean#TRUE true}; * case-sensitive. - * @return boolean containing the value from the specified index. + * @return boolean containing the value from the specified {@code index}. * * @throws IndexOutOfBoundsException if the index is out of bounds, or if * the supplied trueValue is null. @@ -128,12 +128,12 @@ public interface FieldSet { /** * Read the 'boolean' value from column with given 'name'. * - * @param name the field name. + * @param name the field {@code name}. * @param trueValue the value that signifies {@link Boolean#TRUE true}; * case-sensitive. - * @return boolean containing the value from the specified name. + * @return boolean containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined, or if the supplied trueValue is null. */ boolean readBoolean(String name, String trueValue); @@ -142,7 +142,7 @@ public interface FieldSet { * Read the 'char' value at index 'index'. * * @param index the field index. - * @return char containing the value from the specified index. + * @return char containing the value from the specified {@code index}. * * @throws IndexOutOfBoundsException if the index is out of bounds. */ @@ -151,10 +151,10 @@ public interface FieldSet { /** * Read the 'char' value from column with given 'name'. * - * @param name the field name. - * @return char containing the value from the specified name. + * @param name the field {@code name}. + * @return char containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ char readChar(String name); @@ -163,7 +163,7 @@ public interface FieldSet { * Read the 'byte' value at index 'index'. * * @param index the field index. - * @return byte containing the value from the specified index. + * @return byte containing the value from the specified {@code index}. * * @throws IndexOutOfBoundsException if the index is out of bounds. */ @@ -172,15 +172,15 @@ public interface FieldSet { /** * Read the 'byte' value from column with given 'name'. * - * @param name the field name.* - * @return byte containing the value from the specified name. + * @param name the field {@code name}. + * @return byte containing the value from the specified {@code name}. */ byte readByte(String name); /** * Read the 'short' value at index 'index'. * - * @param index the field index. + * @param index the field {@code index}. * @return short containing the value from the specified index. * * @throws IndexOutOfBoundsException if the index is out of bounds. @@ -190,10 +190,10 @@ public interface FieldSet { /** * Read the 'short' value from column with given 'name'. * - * @param name the field name. - * @return short containing the value from the specified name. + * @param name the field {@code name}. + * @return short containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ short readShort(String name); @@ -211,10 +211,10 @@ public interface FieldSet { /** * Read the 'int' value from column with given 'name'. * - * @param name the field name. - * @return int containing the value from the specified name. + * @param name the field {@code name}. + * @return int containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ int readInt(String name); @@ -237,11 +237,11 @@ public interface FieldSet { * using the supplied defaultValue if the field value is * blank. * - * @param name the field name. + * @param name the field {@code name}. * @param defaultValue the value to use if the field value is blank. - * @return int containing the value from the specified name. + * @return int containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ int readInt(String name, int defaultValue); @@ -259,10 +259,10 @@ public interface FieldSet { /** * Read the 'long' value from column with given 'name'. * - * @param name the field name. - * @return long containing the value from the specified name. + * @param name the field {@code name}. + * @return long containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ long readLong(String name); @@ -285,11 +285,11 @@ public interface FieldSet { * using the supplied defaultValue if the field value is * blank. * - * @param name the field name. + * @param name the field {@code name}. * @param defaultValue the value to use if the field value is blank. - * @return long containing the value from the specified name. + * @return long containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ long readLong(String name, long defaultValue); @@ -307,10 +307,10 @@ public interface FieldSet { /** * Read the 'float' value from column with given 'name. * - * @param name the field name. - * @return float containing the value from the specified name. + * @param name the field {@code name}. + * @return float containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ float readFloat(String name); @@ -328,10 +328,10 @@ public interface FieldSet { /** * Read the 'double' value from column with given 'name. * - * @param name the field name. - * @return double containing the value from the specified name. + * @param name the field {@code name}. + * @return double containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ double readDouble(String name); @@ -349,10 +349,10 @@ public interface FieldSet { /** * Read the {@link java.math.BigDecimal} value from column with given 'name. * - * @param name the field name. - * @return {@link BigDecimal} containing the value from the specified name. + * @param name the field {@code name}. + * @return {@link BigDecimal} containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ BigDecimal readBigDecimal(String name); @@ -375,11 +375,11 @@ public interface FieldSet { * returning the supplied defaultValue if the trimmed string * value at index 'index' is blank. * - * @param name the field name. + * @param name the field {@code name}. * @param defaultValue the default value to use if the field is blank - * @return {@link BigDecimal} containing the value from the specified name. + * @return {@link BigDecimal} containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ BigDecimal readBigDecimal(String name, BigDecimal defaultValue); @@ -401,10 +401,10 @@ public interface FieldSet { * Read the java.sql.Date value in given format from column * with given name. * - * @param name the field name. - * @return {@link Date} containing the value from the specified name. + * @param name the field {@code name}. + * @return {@link Date} containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined or if the value is not parseable * @throws NullPointerException if the value is empty */ @@ -428,11 +428,11 @@ public interface FieldSet { * Read the java.sql.Date value in given format from column * with given name. * - * @param name the field name. + * @param name the field {@code name}. * @param defaultValue the default value to use if the field is blank - * @return {@link Date} containing the value from the specified name. + * @return {@link Date} containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined. */ Date readDate(String name, Date defaultValue); @@ -455,11 +455,11 @@ public interface FieldSet { * Read the java.sql.Date value in given format from column * with given name. * - * @param name the field name. + * @param name the field {@code name}. * @param pattern the pattern describing the date and time format - * @return {@link Date} containing the value from the specified name. + * @return {@link Date} containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined or if the specified field cannot be parsed * */ @@ -484,12 +484,12 @@ public interface FieldSet { * Read the java.sql.Date value in given format from column * with given name. * - * @param name the field name. + * @param name the field {@code name}. * @param pattern the pattern describing the date and time format * @param defaultValue the default value to use if the field is blank - * @return {@link Date} containing the value from the specified name. + * @return {@link Date} containing the value from the specified {@code name}. * - * @throws IllegalArgumentException if a column with given name is not + * @throws IllegalArgumentException if a column with given {@code name} is not * defined or if the specified field cannot be parsed * */ diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemStream.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemStream.java index 2a97a833a..6d9ae2f6c 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemStream.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/CompositeItemStream.java @@ -34,7 +34,7 @@ public class CompositeItemStream implements ItemStream { private List streams = new ArrayList(); /** - * Public setter for the streams. + * Public setter for the {@link ItemStream}s. * * @param streams array of {@link ItemStream}. */ diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/util/FileUtils.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/util/FileUtils.java index 5c8d26a6e..5736fc8df 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/util/FileUtils.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/util/FileUtils.java @@ -43,11 +43,6 @@ public final class FileUtils { * @param append true signals input file may already exist (but doesn't have to) * @param overwriteOutputFile If set to true, output file will be overwritten (this flag is ignored when processing * is restart) - * - * @throws IllegalArgumentException when file is null - * @throws ItemStreamException when starting output file processing, file exists and flag "overwriteOutputFile" is - * set to false - * @throws ItemStreamException when unable to create file or file is not writable */ public static void setUpOutputFile(File file, boolean restarted, boolean append, boolean overwriteOutputFile) { diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/validator/ValidatingItemProcessor.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/validator/ValidatingItemProcessor.java index 79b5ca102..417468b55 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/validator/ValidatingItemProcessor.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/validator/ValidatingItemProcessor.java @@ -62,8 +62,9 @@ public class ValidatingItemProcessor implements ItemProcessor, Initiali /** * Should the processor filter invalid records instead of skipping them? * - * @param filter true if filter is to return null or false if filter is to - * throw a {@link ValidationException}. + * @param filter if set to {@code true}, items that fail validation are filtered + * ({@code null} is returned). Otherwise, a {@link ValidationException} will be + * thrown. */ public void setFilter(boolean filter) { this.filter = filter; diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/CompositeCompletionPolicy.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/CompositeCompletionPolicy.java index 4b2e1f224..3e5141559 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/CompositeCompletionPolicy.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/CompositeCompletionPolicy.java @@ -40,7 +40,7 @@ public class CompositeCompletionPolicy implements CompletionPolicy { * Setter for the policies. * * @param policies an array of completion policies to be used to determine - * isComplete by consensus. + * {@link #isComplete(RepeatContext)} by consensus. */ public void setPolicies(CompletionPolicy[] policies) { this.policies = Arrays.asList(policies).toArray(new CompletionPolicy[policies.length]); diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/TimeoutTerminationPolicy.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/TimeoutTerminationPolicy.java index 33bf345c3..597aafa3d 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/TimeoutTerminationPolicy.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/policy/TimeoutTerminationPolicy.java @@ -52,7 +52,7 @@ public class TimeoutTerminationPolicy extends CompletionPolicySupport { * Construct a {@link TimeoutTerminationPolicy} with the specified timeout * value (in milliseconds). * - * @param timeout the milliseconds to be used for the timeout. + * @param timeout durration of the timeout. */ public TimeoutTerminationPolicy(long timeout) { super(); diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java index 819f806d6..e6aa35fc5 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/support/RepeatTemplate.java @@ -467,7 +467,7 @@ public class RepeatTemplate implements RepeatOperations { /** * Delegate to the {@link CompletionPolicy}. * - * @return a RepeatContext object that can be used by the implementation to store + * @return a {@link RepeatContext} object that can be used by the implementation to store * internal state for a batch step. * * @see org.springframework.batch.repeat.CompletionPolicy#start(RepeatContext) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/AnnotationMethodResolver.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/AnnotationMethodResolver.java index 7752d4855..4db90e7ac 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/AnnotationMethodResolver.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/AnnotationMethodResolver.java @@ -29,7 +29,7 @@ import org.springframework.util.ObjectUtils; import org.springframework.util.ReflectionUtils; /** - * MethodResolver implementation that finds a single Method on the + * {@link MethodResolver} implementation that finds a single Method on the * given Class that contains the specified annotation type. * * @author Mark Fisher @@ -40,7 +40,7 @@ public class AnnotationMethodResolver implements MethodResolver { /** - * Create a MethodResolver for the specified Method-level annotation type. + * Create a {@link MethodResolver} for the specified Method-level annotation type. * * @param annotationType establish the annotation to be used. */ diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/MethodInvokerUtils.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/MethodInvokerUtils.java index f01001199..dd7a94156 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/MethodInvokerUtils.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/support/MethodInvokerUtils.java @@ -185,7 +185,7 @@ public class MethodInvokerUtils { * @param target an object to search for an appropriate method. * @param the class. * @param the type. - * @return a MethodInvoker that calls a method on the delegate. + * @return a {@link MethodInvoker} that calls a method on the delegate. */ public static MethodInvoker getMethodInvokerForSingleArgument(Object target) { final AtomicReference methodHolder = new AtomicReference<>();