Skip to content

Commit f1ac0c0

Browse files
quafffmbenhassine
authored andcommitted
Fix wrong statement in Javadoc of SimplePartitioner
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
1 parent 4c9b88e commit f1ac0c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/SimplePartitioner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2013 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
2525
* Simplest possible implementation of {@link Partitioner}. Just creates a set of empty
2626
* {@link ExecutionContext} instances, and labels them as
2727
* <code>{partition0, partition1, ..., partitionN}</code>, where <code>N</code> is the
28-
* grid size.
28+
* grid size - 1.
2929
*
3030
* @author Dave Syer
3131
* @since 2.0

0 commit comments

Comments
 (0)