summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Properties.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-07-12 13:26:55 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-07-12 13:26:55 +0000
commit4ae15d37b8cd9d3afcf2826df96e36f7a519c17c (patch)
treeaa1950fa6017954dd75d75352f9ed9976378b9ce /cppe/src/IceE/Properties.cpp
parentFixed linux build (diff)
downloadice-4ae15d37b8cd9d3afcf2826df96e36f7a519c17c.tar.bz2
ice-4ae15d37b8cd9d3afcf2826df96e36f7a519c17c.tar.xz
ice-4ae15d37b8cd9d3afcf2826df96e36f7a519c17c.zip
removed PropertyNames.
Diffstat (limited to 'cppe/src/IceE/Properties.cpp')
-rw-r--r--cppe/src/IceE/Properties.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/cppe/src/IceE/Properties.cpp b/cppe/src/IceE/Properties.cpp
index d7f70c384c6..f7ff9275133 100644
--- a/cppe/src/IceE/Properties.cpp
+++ b/cppe/src/IceE/Properties.cpp
@@ -11,7 +11,6 @@
#include <IceE/Properties.h>
#include <IceE/Initialize.h>
#include <IceE/LocalException.h>
-#include <IceE/PropertyNames.h>
using namespace std;
using namespace Ice;
@@ -107,38 +106,6 @@ Ice::Properties::setProperty(const string& key, const string& value)
return;
}
- //
- // Check if the property is legal. (We write to stderr instead of
- // using a logger because no logger may be established at the time
- // the property is parsed.)
- //
- string::size_type dotPos = key.find('.');
- if(dotPos != string::npos)
- {
- string prefix = key.substr(0, dotPos);
- for(const char* const** i = IceInternal::PropertyNames::validProps; *i != 0; ++i)
- {
- string pattern(*i[0]);
- dotPos = pattern.find('.');
- assert(dotPos != string::npos);
- string propPrefix = pattern.substr(0, dotPos);
- if(propPrefix != prefix)
- {
- continue;
- }
-
- bool found = false;
- for(const char* const* j = *i; *j != 0 && !found; ++j)
- {
- found = IceUtil::match(key, *j);
- }
- if(!found)
- {
- fprintf(stderr, "warning: unknown property: %s\n", key.c_str());
- }
- }
- }
-
IceUtil::Mutex::Lock sync(*this);
//