summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/facets/Server.cs
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
commit883edab4361e58957796f25d5fc55cfb41f0f6ea (patch)
treefc90adc372b66bf0becf4c0912794c64af250a29 /csharp/test/Ice/facets/Server.cs
parentICE-7242 - Cross test updates (diff)
downloadice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'csharp/test/Ice/facets/Server.cs')
-rw-r--r--csharp/test/Ice/facets/Server.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/test/Ice/facets/Server.cs b/csharp/test/Ice/facets/Server.cs
index 74fe1ad5ece..63d297d9e8b 100644
--- a/csharp/test/Ice/facets/Server.cs
+++ b/csharp/test/Ice/facets/Server.cs
@@ -23,12 +23,12 @@ public class Server
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010");
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
Ice.Object d = new DI();
- adapter.add(d, communicator.stringToIdentity("d"));
- adapter.addFacet(d, communicator.stringToIdentity("d"), "facetABCD");
+ adapter.add(d, Ice.Util.stringToIdentity("d"));
+ adapter.addFacet(d, Ice.Util.stringToIdentity("d"), "facetABCD");
Ice.Object f = new FI();
- adapter.addFacet(f, communicator.stringToIdentity("d"), "facetEF");
+ adapter.addFacet(f, Ice.Util.stringToIdentity("d"), "facetEF");
Ice.Object h = new HI(communicator);
- adapter.addFacet(h, communicator.stringToIdentity("d"), "facetGH");
+ adapter.addFacet(h, Ice.Util.stringToIdentity("d"), "facetGH");
adapter.activate();
communicator.waitForShutdown();