summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-02-14 13:57:26 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-02-14 13:57:26 +0000
commitc4cbcf3d83cc23ffa1b09ae513799e39f671c054 (patch)
tree7c37232e433131ca5d788dcb5d909c8efcf2d80d /cpp/src/IcePatch2/Server.cpp
parentupdate x64 components (diff)
downloadice-c4cbcf3d83cc23ffa1b09ae513799e39f671c054.tar.bz2
ice-c4cbcf3d83cc23ffa1b09ae513799e39f671c054.tar.xz
ice-c4cbcf3d83cc23ffa1b09ae513799e39f671c054.zip
Removed use of Ice.OA.
Diffstat (limited to 'cpp/src/IcePatch2/Server.cpp')
-rw-r--r--cpp/src/IcePatch2/Server.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp
index 9b654414caf..814fb3f42cd 100644
--- a/cpp/src/IcePatch2/Server.cpp
+++ b/cpp/src/IcePatch2/Server.cpp
@@ -141,12 +141,8 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
return false;
}
- //
- // DEPRECATED PROPERTY: Remove extra code in future release
- //
- const string endpointsProperty = "Ice.OA.IcePatch2.Endpoints";
- string endpoints = properties->getPropertyWithDefault(endpointsProperty,
- properties->getProperty("IcePatch2.Endpoints"));
+ const string endpointsProperty = "IcePatch2.Endpoints";
+ string endpoints = properties->getProperty(endpointsProperty);
if(endpoints.empty())
{
error("property `" + endpointsProperty + "' is not set");
@@ -154,12 +150,8 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
}
ObjectAdapterPtr adapter = communicator()->createObjectAdapter("IcePatch2");
- //
- // DEPRECATED PROPERTY: Remove extra code in future release
- //
ObjectAdapterPtr adminAdapter;
- if(!properties->getProperty("Ice.OA.IcePatch2.Admin.Endpoints").empty() ||
- !properties->getProperty("IcePatch2.Admin.Endpoints").empty())
+ if(!properties->getProperty("IcePatch2.Admin.Endpoints").empty())
{
adminAdapter = communicator()->createObjectAdapter("IcePatch2.Admin");
}