summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/JavaUtil.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-07-16 12:57:41 -0700
committerMark Spruiell <mes@zeroc.com>2009-07-16 12:57:41 -0700
commit1238e2ecc7dcf77e10dece34fe6b6b074c66d43f (patch)
tree59e65a7c986490d302de98d554f21e210a6d5b97 /cpp/src/Slice/JavaUtil.cpp
parentFix comment in slice AlreadyRegisteredException / NotRegisteredException (diff)
downloadice-1238e2ecc7dcf77e10dece34fe6b6b074c66d43f.tar.bz2
ice-1238e2ecc7dcf77e10dece34fe6b6b074c66d43f.tar.xz
ice-1238e2ecc7dcf77e10dece34fe6b6b074c66d43f.zip
bug 2806 - Java holder changes for class/interface types
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
{