From f85a964893e985543dd87a1da616a445130761ac Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Thu, 8 Jun 2006 14:15:20 +0000 Subject: fix for bug 774: simplify use of streaming API in templates --- cpp/src/Slice/JavaUtil.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/Slice/JavaUtil.cpp') diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp index 893c59ad267..ccfd8e55bfc 100644 --- a/cpp/src/Slice/JavaUtil.cpp +++ b/cpp/src/Slice/JavaUtil.cpp @@ -2068,13 +2068,13 @@ Slice::JavaGenerator::writeStreamMarshalUnmarshalCode(Output& out, { if(marshal) { - out << nl << v << ".__write(" << stream << ");"; + out << nl << v << ".ice_write(" << stream << ");"; } else { string typeS = typeToString(type, TypeModeIn, package); out << nl << v << " = new " << typeS << "();"; - out << nl << v << ".__read(" << stream << ");"; + out << nl << v << ".ice_read(" << stream << ");"; } return; } @@ -2084,12 +2084,12 @@ Slice::JavaGenerator::writeStreamMarshalUnmarshalCode(Output& out, { if(marshal) { - out << nl << v << ".__write(" << stream << ");"; + out << nl << v << ".ice_write(" << stream << ");"; } else { string typeS = typeToString(type, TypeModeIn, package); - out << nl << v << " = " << typeS << ".__read(" << stream << ");"; + out << nl << v << " = " << typeS << ".ice_read(" << stream << ");"; } return; } -- cgit v1.2.3