Commit fce0fd0b authored by Kristof Szabados's avatar Kristof Szabados
Browse files

one more potential way to make the build somewhat faster.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent bbba4032
......@@ -3027,7 +3027,8 @@ public abstract class Type extends Governor implements IType, IIncrementallyUpda
final boolean as_map = (jsonAttribute != null && jsonAttribute.as_map) ||
(ownerType == TypeOwner_type.OT_RECORD_OF && parentType.getJsonAttribute() != null && parentType.getJsonAttribute().as_map);
if (jsonAttribute == null) {
if (jsonAttribute == null) {
// TODO as the attributes should not be changed in runtime, maybe generating code that references some object with default setting could make compilation faster.
JSON_value.append(MessageFormat.format("false, null, false, null, false, false, {0}, 0, null, false, json_string_escaping.ESCAPE_AS_SHORT)", as_map ? "true": "false"));
} else {
String enum_texts_name = null;
......
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