summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-19 17:06:45 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-19 17:06:45 +0000
commitf03fbc1d047e79e6b5dbf2b28e737b5db90c3da0 (patch)
treeeab0577aaa113265d1309d55c5812a650eb77f62 /cpp/src/slice2java/Gen.cpp
parentfix typo in makedist script (diff)
downloadice-f03fbc1d047e79e6b5dbf2b28e737b5db90c3da0.tar.bz2
ice-f03fbc1d047e79e6b5dbf2b28e737b5db90c3da0.tar.xz
ice-f03fbc1d047e79e6b5dbf2b28e737b5db90c3da0.zip
Back out change
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r--cpp/src/slice2java/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index a6a6208639f..b32e85a4e08 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -4438,7 +4438,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << nl << "__send();";
out << eb;
- out << sp << nl << "protected final boolean" << nl << "__response(boolean __ok)";
+ out << sp << nl << "protected final void" << nl << "__response(boolean __ok)";
out << sb;
for(pli = outParams.begin(); pli != outParams.end(); ++pli)
{
@@ -4481,7 +4481,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << nl << "catch(" << getAbsolute(*r, classPkg) << " __ex)";
out << sb;
out << nl << "ice_exception(__ex);";
- out << nl << "return false;";
+ out << nl << "return;";
out << eb;
}
out << nl << "catch(Ice.UserException __ex)";
@@ -4523,10 +4523,10 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
out << eb;
out << nl << "catch(Ice.LocalException __ex)";
out << sb;
- out << nl << "return __finished(__ex);";
+ out << nl << "__finished(__ex);";
+ out << nl << "return;";
out << eb;
out << nl << "ice_response" << spar << args << epar << ';';
- out << nl << "return false;";
out << eb;
out << eb;