diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/SimplePartitioner.java b/spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/SimplePartitioner.java
index 9e3ebbaa10..de0b44f7b4 100644
--- a/spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/SimplePartitioner.java
+++ b/spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/SimplePartitioner.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2013 the original author or authors.
+ * Copyright 2006-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
* Simplest possible implementation of {@link Partitioner}. Just creates a set of empty
* {@link ExecutionContext} instances, and labels them as
* {partition0, partition1, ..., partitionN}
, where N
is the
- * grid size.
+ * grid size - 1.
*
* @author Dave Syer
* @since 2.0