From 52ca8760c491bab048d26737c0a236847f5d50aa Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Tue, 7 May 2002 21:28:46 +0000 Subject: bug fix --- cpp/src/Slice/JavaUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/Slice/JavaUtil.cpp') diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp index fc88786c836..7b69646e53b 100644 --- a/cpp/src/Slice/JavaUtil.cpp +++ b/cpp/src/Slice/JavaUtil.cpp @@ -932,7 +932,7 @@ Slice::JavaGenerator::writeSequenceMarshalUnmarshalCode(Output& out, out << nl << v << " = new " << listType << "();"; out << nl << "int __len" << iter << " = " << stream << ".readSize();"; out << nl << "for (int __i" << iter << " = 0; __i" << iter << " < __len" << iter << "; __i" << iter - << "++);"; + << "++)"; out << sb; out << nl << origContentS << " __elem;"; iter++; @@ -1635,7 +1635,7 @@ Slice::JavaGenerator::writeGenericSequenceMarshalUnmarshalCode(Output& out, out << nl << v << " = new " << listType << "();"; out << nl << "int __len" << iter << " = " << stream << ".startReadSequence(" << name << ");"; out << nl << "for (int __i" << iter << " = 0; __i" << iter << " < __len" << iter << "; __i" << iter - << "++);"; + << "++)"; out << sb; out << nl << origContentS << " __elem;"; iter++; -- cgit v1.2.3