diff options
Diffstat (limited to 'cpp/src/Slice/JavaUtil.cpp')
-rw-r--r-- | cpp/src/Slice/JavaUtil.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |