Skip to content

Commit

Permalink
Merge branch '2.6.x' into 2.7.x
Browse files Browse the repository at this point in the history
Closes gh-30846
  • Loading branch information
wilkinsona committed May 3, 2022
2 parents 61cd05f + a8b5a1c commit 8044df2
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-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.
Expand All @@ -16,8 +16,8 @@

package org.springframework.boot.autoconfigure.batch;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

import org.springframework.batch.core.JobExecution;
import org.springframework.boot.ExitCodeGenerator;
Expand All @@ -31,7 +31,7 @@
*/
public class JobExecutionExitCodeGenerator implements ApplicationListener<JobExecutionEvent>, ExitCodeGenerator {

private final List<JobExecution> executions = new ArrayList<>();
private final List<JobExecution> executions = new CopyOnWriteArrayList<>();

@Override
public void onApplicationEvent(JobExecutionEvent event) {
Expand Down

0 comments on commit 8044df2

Please sign in to comment.