We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ea886 commit 8397b81Copy full SHA for 8397b81
cpp/src/slice2java/Gen.cpp
@@ -756,12 +756,8 @@ Slice::JavaVisitor::writeSequenceMarshalUnmarshalCode(
756
out << nl << param << ".add(null);";
757
758
ostringstream patchParams;
759
- if (type->isClassType())
760
- {
761
- out << nl << "final int fi" << iter << " = i" << iter << ";";
762
- patchParams << "value -> " << param << ".set(fi" << iter << ", value), " << origContentS
763
- << ".class";
764
- }
+ out << nl << "final int fi" << iter << " = i" << iter << ";";
+ patchParams << "value -> " << param << ".set(fi" << iter << ", value), " << origContentS << ".class";
765
766
writeMarshalUnmarshalCode(
767
out,
0 commit comments