Skip to content

Commit abe574f

Browse files
committed
make some variables private
1 parent 58f0235 commit abe574f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/src/main/java/org/elasticsearch/cluster/service/TaskBatching.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@
4444
*/
4545
public abstract class TaskBatching {
4646

47-
protected final Logger logger;
48-
protected final ThreadPool threadPool;
49-
protected final PrioritizedEsThreadPoolExecutor threadExecutor;
47+
private final Logger logger;
48+
private final ThreadPool threadPool;
49+
private final PrioritizedEsThreadPoolExecutor threadExecutor;
50+
// package visible for tests
5051
final Map<Object, LinkedHashSet<BatchingTask>> tasksPerExecutor = new HashMap<>();
5152

5253
public TaskBatching(Logger logger, PrioritizedEsThreadPoolExecutor threadExecutor, ThreadPool threadPool) {

0 commit comments

Comments
 (0)