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;