Update InternalClientManager.java

This commit is contained in:
Andrea Cavalli 2020-10-13 04:10:20 +02:00
parent 842a525965
commit 4c2cdfef12
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class InternalClientManager implements AutoCloseable {
}
public long getNextQueryId() {
return currentQueryId.getAndUpdate(value -> (value >= Long.MAX_VALUE ? 0 : value) + 1);
return currentQueryId.updateAndGet(value -> (value >= Long.MAX_VALUE ? 0 : value) + 1);
}
@Override