From b73c01d4a509bfb51db2a6c55e9bdcbad6d091b9 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Wed, 4 Oct 2023 11:30:53 -0700 Subject: [PATCH] minor fix Signed-off-by: Yury-Fridlyand --- .../main/java/javababushka/benchmarks/utils/Benchmarking.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/benchmarks/src/main/java/javababushka/benchmarks/utils/Benchmarking.java b/java/benchmarks/src/main/java/javababushka/benchmarks/utils/Benchmarking.java index 48d16f998c..70dfe2d940 100644 --- a/java/benchmarks/src/main/java/javababushka/benchmarks/utils/Benchmarking.java +++ b/java/benchmarks/src/main/java/javababushka/benchmarks/utils/Benchmarking.java @@ -177,7 +177,7 @@ public static void testClientSetGet( finalI, concurrentNum, finalJ + 1, clientNum); } while (true) { - int iterationIncrement = iterationCounter.incrementAndGet(); + int iterationIncrement = iterationCounter.getAndIncrement(); if (iterationIncrement >= iterations) { break; }