diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-18 15:48:35 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-18 15:48:35 +0000 |
commit | c9430fc50a840645578dc276bea8ea2313d72d38 (patch) | |
tree | 4ecb531882003f924e1bc196aaa78677557df74c | |
parent | 06cbe92e76e79fc50cdbf069fb9d1530c9f49144 (diff) | |
download | ATCD-c9430fc50a840645578dc276bea8ea2313d72d38.tar.gz |
fixed typo, const improvemnt
-rw-r--r-- | DAnCE/TargetManager/DomainDataManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DAnCE/TargetManager/DomainDataManager.cpp b/DAnCE/TargetManager/DomainDataManager.cpp index 10e24d4eb0b..4c3c40e45a6 100644 --- a/DAnCE/TargetManager/DomainDataManager.cpp +++ b/DAnCE/TargetManager/DomainDataManager.cpp @@ -61,7 +61,7 @@ int CIAO::DomainDataManager::update_domain ( break; } - CORBA::ULong size = current_domain_.node.length (); + CORBA::ULong const size = current_domain_.node.length (); CORBA::ULong i; for (i=0;i < size;i++) @@ -419,7 +419,7 @@ match_properties ( failure.reason = CORBA::string_dup ("Property Not Found\n"); failure.propertyName = CORBA::string_dup (deployed[i].name); failure.propertyValue.length (0); - + throw failure; } } // outside for ... @@ -571,7 +571,7 @@ find_in_initial_domain (const char* node_name, } } - // not found the node , retunr a node with an empty name + // not found the node , return a node with an empty name return false; } @@ -591,7 +591,7 @@ find_in_provisioned_domain (const char* node_name, } } - // not found the node , retunr a node with an empty name + // not found the node , return a node with an empty name return false; } |