summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
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");
}