ARTEMIS-2320 AtomicFieldUpdater field not declared 'static final'
This commit is contained in:
parent
4abc2e0430
commit
4014aa0157
|
@ -21,7 +21,7 @@ import java.util.function.Consumer;
|
|||
|
||||
public class UpdatableIterator<E> implements ResettableIterator<E>, RepeatableIterator<E> {
|
||||
|
||||
private final AtomicReferenceFieldUpdater<UpdatableIterator, RepeatableIteratorWrapper> changedIteratorFieldUpdater = AtomicReferenceFieldUpdater.newUpdater(UpdatableIterator.class, RepeatableIteratorWrapper.class, "changedIterator");
|
||||
private static final AtomicReferenceFieldUpdater<UpdatableIterator, RepeatableIteratorWrapper> changedIteratorFieldUpdater = AtomicReferenceFieldUpdater.newUpdater(UpdatableIterator.class, RepeatableIteratorWrapper.class, "changedIterator");
|
||||
private volatile RepeatableIteratorWrapper<E> changedIterator;
|
||||
private RepeatableIteratorWrapper<E> currentIterator;
|
||||
|
||||
|
|
Loading…
Reference in New Issue