From ef61b96f48b639a56ceb10161ecab8a2a5258ce4 Mon Sep 17 00:00:00 2001 From: Robert Csakany Date: Thu, 28 Nov 2024 03:47:26 +0100 Subject: [PATCH] JNG-5995 Removing retry counter --- .../runtime/execution/model/emf/WrappedEmfModelContext.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/epsilon-runtime-execution/src/main/java/hu/blackbelt/epsilon/runtime/execution/model/emf/WrappedEmfModelContext.java b/epsilon-runtime-execution/src/main/java/hu/blackbelt/epsilon/runtime/execution/model/emf/WrappedEmfModelContext.java index bbe978a..1e7f4b1 100644 --- a/epsilon-runtime-execution/src/main/java/hu/blackbelt/epsilon/runtime/execution/model/emf/WrappedEmfModelContext.java +++ b/epsilon-runtime-execution/src/main/java/hu/blackbelt/epsilon/runtime/execution/model/emf/WrappedEmfModelContext.java @@ -118,10 +118,9 @@ public WrappedEmfModelContext() { private void retry(Runnable executeable) { synchronized (resource) { - int cnt = 0; boolean success = false; ConcurrentModificationException exception = null; - while (cnt < 10 && !success) { + while (!success) { try { executeable.run(); success = true;