Drop explicit zeroing at instantiation of Atomic* objects
This commit is contained in:
committed by
Juergen Hoeller
parent
b7e1553c9d
commit
8a04910bdd
@@ -63,7 +63,7 @@ public abstract class AbstractBrokerMessageHandler
|
||||
@Nullable
|
||||
private ApplicationEventPublisher eventPublisher;
|
||||
|
||||
private AtomicBoolean brokerAvailable = new AtomicBoolean(false);
|
||||
private AtomicBoolean brokerAvailable = new AtomicBoolean();
|
||||
|
||||
private final BrokerAvailabilityEvent availableEvent = new BrokerAvailabilityEvent(true, this);
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ public class OrderedMessageChannelDecorator implements MessageChannel {
|
||||
|
||||
private final Queue<Message<?>> messages = new ConcurrentLinkedQueue<>();
|
||||
|
||||
private final AtomicBoolean sendInProgress = new AtomicBoolean(false);
|
||||
private final AtomicBoolean sendInProgress = new AtomicBoolean();
|
||||
|
||||
|
||||
public OrderedMessageChannelDecorator(MessageChannel channel, Log logger) {
|
||||
|
||||
Reference in New Issue
Block a user