Skip to content
Snippets Groups Projects
Commit 8708af21 authored by Florian Lambers's avatar Florian Lambers
Browse files

fixed constraints

parent 557df4dc
No related branches found
No related tags found
No related merge requests found
...@@ -397,7 +397,7 @@ public class TestService { ...@@ -397,7 +397,7 @@ public class TestService {
HashMap<String, List<Constraint>> newTaskSpecificConstraints = new HashMap<>(); HashMap<String, List<Constraint>> newTaskSpecificConstraints = new HashMap<>();
for(Variable v : inputVariables) { for(Variable v : inputVariables) {
if(!allConstraintsForTask.get(v.getName()).isEmpty()) { if(allConstraintsForTask.get(v.getName()) != null && !allConstraintsForTask.get(v.getName()).isEmpty()) {
//Constraints kopieren //Constraints kopieren
List<Constraint> variableConstraints = new ArrayList<>(); List<Constraint> variableConstraints = new ArrayList<>();
for(BPMNFieldConstraint c : allConstraintsForTask.get(v.getName())) { for(BPMNFieldConstraint c : allConstraintsForTask.get(v.getName())) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment