We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae95e0 commit d27d9a7Copy full SHA for d27d9a7
test/src/com/rabbitmq/client/test/functional/Confirm.java
@@ -49,7 +49,7 @@ public class Confirm extends BrokerTestCase
49
{
50
final static int NUM_MESSAGES = 1000;
51
private static final String TTL_ARG = "x-message-ttl";
52
- private volatile SortedSet<Long> ackSet;
+ private SortedSet<Long> ackSet;
53
54
@Override
55
protected void setUp() throws IOException {
@@ -276,7 +276,7 @@ private void gotAckForMultiple(long msgSeqNo) {
276
gotAckFor(i);
277
}
278
279
- private synchronized void gotAckFor(long msgSeqNo) {
+ private void gotAckFor(long msgSeqNo) {
280
if (!ackSet.contains(msgSeqNo)) {
281
fail("got duplicate ack: " + msgSeqNo);
282
0 commit comments