This commit is contained in:
Mahmoud Ben Hassine
2018-11-28 22:32:11 +01:00
parent 2f0c2a6772
commit e5ac0e9975
2 changed files with 9 additions and 9 deletions

View File

@@ -572,7 +572,7 @@ public class FlatFileItemReaderBuilder<T> {
* @return The instance of the builder for chaining.
* @see DelimitedLineTokenizer#setIncludedFields(int[])
*/
public DelimitedBuilder<T> includedFields(Integer[] fields) {
public DelimitedBuilder<T> includedFields(Integer... fields) {
this.includedFields.addAll(Arrays.asList(fields));
return this;
}