From 3951b8451b44b8d1ef803d2d0965a92e08967c6b Mon Sep 17 00:00:00 2001 From: NoName11234 <47484268+NoName11234@users.noreply.github.com> Date: Wed, 29 May 2024 18:07:08 +0200 Subject: [PATCH] made constraintsetrepository volatile --- .../de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java b/src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java index 54b07cb..b9d071a 100644 --- a/src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java +++ b/src/main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java @@ -130,7 +130,7 @@ public class TypeUnifyTask extends RecursiveTask>> { volatile UnifyTaskModel usedTasks; static Writer statistics; - protected ConstraintSetRepository constraintSetRepository; + protected volatile ConstraintSetRepository constraintSetRepository; public TypeUnifyTask() { rules = new RuleSet();