summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/JavaUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/JavaUtil.cpp')
-rw-r--r--cpp/src/Slice/JavaUtil.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp
index ded9eea1231..eba3ac206b5 100644
--- a/cpp/src/Slice/JavaUtil.cpp
+++ b/cpp/src/Slice/JavaUtil.cpp
@@ -801,7 +801,7 @@ Slice::JavaGenerator::writeMarshalUnmarshalCode(Output& out,
{
if(holder)
{
- out << nl << stream << ".readObject(" << param << ".getPatcher());";
+ out << nl << stream << ".readObject(" << param << ");";
}
else
{
@@ -868,7 +868,7 @@ Slice::JavaGenerator::writeMarshalUnmarshalCode(Output& out,
string typeS = typeToString(type, TypeModeIn, package);
if(holder)
{
- out << nl << stream << ".readObject(" << param << ".getPatcher());";
+ out << nl << stream << ".readObject(" << param << ");";
}
else
{
@@ -1747,7 +1747,7 @@ Slice::JavaGenerator::writeStreamMarshalUnmarshalCode(Output& out,
{
if(holder)
{
- out << nl << stream << ".readObject((Ice.ReadObjectCallback)" << param << ".getPatcher());";
+ out << nl << stream << ".readObject(" << param << ");";
}
else
{
@@ -1814,7 +1814,7 @@ Slice::JavaGenerator::writeStreamMarshalUnmarshalCode(Output& out,
string typeS = typeToString(type, TypeModeIn, package);
if(holder)
{
- out << nl << stream << ".readObject(" << param << ".getPatcher());";
+ out << nl << stream << ".readObject(" << param << ");";
}
else
{