summaryrefslogtreecommitdiff
path: root/java/test/Ice/operations/Oneways.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/operations/Oneways.java')
-rw-r--r--java/test/Ice/operations/Oneways.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/test/Ice/operations/Oneways.java b/java/test/Ice/operations/Oneways.java
index 823213ca575..ded8ee39b3d 100644
--- a/java/test/Ice/operations/Oneways.java
+++ b/java/test/Ice/operations/Oneways.java
@@ -26,7 +26,6 @@ class Oneways
static void
oneways(test.Util.Application app, MyClassPrx p)
{
- Ice.Communicator communicator = app.communicator();
p = MyClassPrxHelper.uncheckedCast(p.ice_oneway());
{
@@ -48,10 +47,9 @@ class Oneways
{
Ice.ByteHolder b = new Ice.ByteHolder();
- byte r;
try
{
- r = p.opByte((byte)0xff, (byte)0x0f, b);
+ p.opByte((byte)0xff, (byte)0x0f, b);
test(false);
}
catch(Ice.TwowayOnlyException ex)