Commit 9f716614 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

only add raw import if needed


Signed-off-by: Kristof Szabados's avatarkristof <Kristof.Szabados@ericsson.com>
parent 19a46a40
......@@ -90,7 +90,6 @@ public class EnumeratedGenerator {
aData.addBuiltinTypeImport( "Base_Template" );
aData.addBuiltinTypeImport("Text_Buf");
aData.addBuiltinTypeImport("TtcnError");
aData.addBuiltinTypeImport("RAW");
aData.addImport( "java.text.MessageFormat" );
final boolean rawNeeded = e_defs.hasRaw; //TODO can be forced optionally if needed
......@@ -351,6 +350,7 @@ public class EnumeratedGenerator {
source.append("}\n\n");
if (rawNeeded) {
aData.addBuiltinTypeImport("RAW");
aData.addImport("java.util.concurrent.atomic.AtomicInteger");
int min_bits = 0;
......
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