Skip to content

Commit 704cd7d

Browse files
committed
Fix: Use decrementAndGet
1 parent 144c4e2 commit 704cd7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

soot-infoflow/src/soot/jimple/infoflow/util/ReusableExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void execute(Runnable command) {
3636
@Override
3737
public void run() {
3838
command.run();
39-
int c = counter.getAndDecrement();
39+
int c = counter.decrementAndGet();
4040
if (c == 0) {
4141
synchronized (obj) {
4242
obj.notify();

0 commit comments

Comments
 (0)