Skip to content

Commit

Permalink
Merge pull request #315 from stuartwdouglas/minor
Browse files Browse the repository at this point in the history
Fix visibility issue
  • Loading branch information
dmlloyd authored Sep 15, 2017
2 parents 93a986e + 3168499 commit 40901b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
/**
* @author Stuart Douglas
*/
public class RetryExecutorWrapper {
class RetryExecutorWrapper {

private final Object lock = new Object();
private Task last = null;

public Executor getExecutor(Executor executor) {
Executor getExecutor(Executor executor) {
return runnable -> {
synchronized (lock) {
Task task = new Task(runnable, executor);
Expand Down

0 comments on commit 40901b6

Please sign in to comment.