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

Bug 568518 Raw decoder correction (on the Java side)


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 122e6d71
......@@ -1798,7 +1798,7 @@ public final class RecordSetCodeGenerator {
source.append("{\n");
source.append(MessageFormat.format("\t\t\t\tfinal RAW_Force_Omit field_{0}_force_omit = new RAW_Force_Omit({0}, force_omit, {1}_descr_.raw.forceomit);\n", i, fieldInfo.mTypeDescriptorName));
source.append(MessageFormat.format("\t\t\t\tfinal int decoded_field_length = {0}{1}.RAW_decode({2}_descr_, buff, limit, local_top_order, true, -1, ", fieldInfo.mVarName, fieldInfo.isOptional ? ".get()":"", fieldInfo.mTypeDescriptorName));
source.append(MessageFormat.format("\t\t\t\tfinal int decoded_field_length = {0}{1}.RAW_decode({2}_descr_, buff, limit, local_top_order, true, {3}, ", fieldInfo.mVarName, fieldInfo.isOptional ? ".get()":"", fieldInfo.mTypeDescriptorName, repeatable ? "1": "-1"));
if (repeatable) {
source.append(MessageFormat.format("field_map[{0}] == 0", i));
} else {
......
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