diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-05-01 06:20:04 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-05-01 06:20:04 +0000 |
commit | abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f (patch) | |
tree | bc8023e87a4afef1d6f95091f250fb5f49ec4ed0 /java/test/Ice/operations/Server.java | |
parent | remove timeout test from proxy test. (diff) | |
download | ice-abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f.tar.bz2 ice-abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f.tar.xz ice-abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f.zip |
remove timeout test from proxy test. Cleanup of operations test.
Diffstat (limited to 'java/test/Ice/operations/Server.java')
-rw-r--r-- | java/test/Ice/operations/Server.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/test/Ice/operations/Server.java b/java/test/Ice/operations/Server.java index 61cdbd95402..83b6c48698a 100644 --- a/java/test/Ice/operations/Server.java +++ b/java/test/Ice/operations/Server.java @@ -14,9 +14,7 @@ public class Server { communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010:udp"); Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); - Ice.Identity id = communicator.stringToIdentity("test"); - adapter.add(new MyDerivedClassI(adapter, id), id); - adapter.add(new TestCheckedCastI(), communicator.stringToIdentity("context")); + adapter.add(new MyDerivedClassI(), communicator.stringToIdentity("test")); adapter.activate(); communicator.waitForShutdown(); |