Commit c2245530 authored by Gergo Ujhelyi's avatar Gergo Ujhelyi
Browse files

fix enum generator isbound


Signed-off-by: Gergo Ujhelyi's avatarGergoUjhelyi <ujhelyi.gergo@ericsson.com>
parent d06e79fd
......@@ -843,7 +843,7 @@ public class EnumeratedGenerator {
private static void generateTemplateIsBound(final StringBuilder source) {
source.append("public boolean isBound() {\n");
source.append("if (templateSelection != template_sel.UNINITIALIZED_TEMPLATE && !is_ifPresent) {\n");
source.append("if (templateSelection == template_sel.UNINITIALIZED_TEMPLATE && !is_ifPresent) {\n");
source.append("return false;\n");
source.append("}\n");
source.append("return true;\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment