diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend')
-rw-r--r-- | plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend index 7aeb82895..fe827aeac 100644 --- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend +++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/VariableServiceGen.xtend @@ -167,8 +167,8 @@ class VariableServiceGen { def private genMinMaxCheck(List<Attribute> path, ActorClass ac){ var a = path.last var aVarName = path.toAbsolutePath("_") - var min = configExt.getAttrClassConfigMinValue(ac, path) != null - var max = configExt.getAttrClassConfigMaxValue(ac, path) != null + var min = configExt.getAttrClassConfigMinValue(ac, path) !== null + var max = configExt.getAttrClassConfigMaxValue(ac, path) !== null if(min || max) ''' «IF a.size>0»for(«a.type.type.typeName» e : «aVarName») |