Make MessageChannelPartitionHandler extend AbstractPartitionHandler

This commit is contained in:
Mahmoud Ben Hassine
2022-08-03 10:52:36 +02:00
parent 2fdb68d28e
commit 9211c2d211
3 changed files with 25 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2021 the original author or authors.
* Copyright 2006-2022 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.
@@ -35,7 +35,7 @@ import org.springframework.batch.core.partition.StepExecutionSplitter;
*/
public abstract class AbstractPartitionHandler implements PartitionHandler {
private int gridSize = 1;
protected int gridSize = 1;
/**
* Executes the specified {@link StepExecution} instances and returns an updated view