diff options
Diffstat (limited to 'java/test/Ice/operations/Collocated.java')
-rw-r--r-- | java/test/Ice/operations/Collocated.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/test/Ice/operations/Collocated.java b/java/test/Ice/operations/Collocated.java index ae944e9222e..75c4d5ea7d3 100644 --- a/java/test/Ice/operations/Collocated.java +++ b/java/test/Ice/operations/Collocated.java @@ -14,9 +14,7 @@ public class Collocated { communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000"); 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(); AllTests.allTests(communicator, true); |