diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-01-29 11:11:49 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-01-29 11:11:49 +0100 |
commit | 8c3146a6f94d0aa074d8925b6f4a06f569ee5a6c (patch) | |
tree | 1c4c89731d25d9862a0e6f68cb06c251fb7d2e15 | |
parent | 307761bd15ca8f93be6af30d56a44f80885dddf7 (diff) | |
download | ATCD-8c3146a6f94d0aa074d8925b6f4a06f569ee5a6c.tar.gz |
Removed noop comments, no need for that. Removed empty lines, some old commented out code and some unicode fixs
* ACE/ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ACE/ACEXML/common/DefaultHandler.cpp:
* ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp:
* TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp:
* TAO/examples/Event_Comm/Notifier_Server.cpp:
* TAO/examples/OBV/Simple_util.cpp:
* TAO/examples/Persistent_Grid/Grid_i.cpp:
* TAO/examples/Persistent_Grid/Simple_util.cpp:
* TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp:
* TAO/examples/Simple/bank/AccountManager_i.cpp:
* TAO/examples/Simple/bank/Account_i.cpp:
* TAO/examples/Simple/grid/Grid_i.cpp:
* TAO/examples/Simple/time-date/Time_Date_Client_i.cpp:
* TAO/examples/Simple/time/Time_i.cpp:
* TAO/orbsvcs/FT_ReplicationManager/FT_DefaultFaultAnalyzer.cpp:
* TAO/orbsvcs/ImplRepo_Service/AsyncAccessManager.cpp:
* TAO/orbsvcs/ImplRepo_Service/Locator_Repository.cpp:
* TAO/orbsvcs/Time_Service/Clerk_i.cpp:
* TAO/orbsvcs/Time_Service/Server_i.cpp:
* TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp:
* TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.cpp:
* TAO/orbsvcs/tests/Bug_2247_Regression/test_i.cpp:
* TAO/orbsvcs/tests/Bug_2248_Regression/test_i.cpp:
* TAO/orbsvcs/tests/FaultTolerance/IOGR/test_i.cpp:
* TAO/tao/LF_Multi_Event.cpp:
* TAO/tao/Transport.cpp:
* TAO/tests/Big_Reply/Big_Reply_i.cpp:
* TAO/tests/Bug_2935_Regression/sink_i.cpp:
* TAO/tests/Bug_3276_Regression/test_i.cpp:
* TAO/tests/CSD_Collocation/Collocation_Tester.cpp:
* TAO/tests/CSD_Collocation/Diamond_i.cpp:
* TAO/tests/Collocation/Collocation_Tester.cpp:
* TAO/tests/Collocation/Diamond_i.cpp:
* TAO/tests/DIOP/UDP_i.cpp:
* TAO/tests/InterOp-Naming/INS_i.cpp:
* TAO/tests/InterOp-Naming/Server_i.cpp:
* TAO/tests/MProfile/test_i.cpp:
* TAO/tests/MProfile_Connection_Timeout/test_i.cpp:
* TAO/tests/MProfile_Forwarding/Servant_Locator.cpp:
* TAO/tests/MProfile_Forwarding/test_i.cpp:
* TAO/tests/OBV/Simple/Simple_util.cpp:
* TAO/tests/RTCORBA/MT_Client_Protocol_Priority/test.idl:
* TAO/tests/Smart_Proxies/Collocation/Coll_Tester.cpp:
* TAO/tests/Smart_Proxies/Collocation/Diamond_i.cpp:
45 files changed, 7 insertions, 133 deletions
diff --git a/ACE/ACEXML/apps/svcconf/Svcconf_Handler.cpp b/ACE/ACEXML/apps/svcconf/Svcconf_Handler.cpp index e8c2c07a5bf..b5d173d2fb3 100644 --- a/ACE/ACEXML/apps/svcconf/Svcconf_Handler.cpp +++ b/ACE/ACEXML/apps/svcconf/Svcconf_Handler.cpp @@ -23,12 +23,10 @@ ACEXML_Svcconf_Handler::ACEXML_Svcconf_Handler (void) stream_svc_type_ (0), stream_ (0) { - // no-op } ACEXML_Svcconf_Handler::~ACEXML_Svcconf_Handler (void) { - // no-op } void @@ -36,13 +34,11 @@ ACEXML_Svcconf_Handler::characters (const ACEXML_Char *, int, int) { - // no-op } void ACEXML_Svcconf_Handler::endDocument (void) { - // no-op } void @@ -268,7 +264,6 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *, void ACEXML_Svcconf_Handler::endPrefixMapping (const ACEXML_Char *) { - // no-op } void @@ -276,14 +271,12 @@ ACEXML_Svcconf_Handler::ignorableWhitespace (const ACEXML_Char *, int, int) { - // no-op } void ACEXML_Svcconf_Handler::processingInstruction (const ACEXML_Char *, const ACEXML_Char *) { - // no-op } void @@ -295,13 +288,11 @@ ACEXML_Svcconf_Handler::setDocumentLocator (ACEXML_Locator* locator) void ACEXML_Svcconf_Handler::skippedEntity (const ACEXML_Char *) { - // no-op } void ACEXML_Svcconf_Handler::startDocument (void) { - // no-op } void diff --git a/ACE/ACEXML/common/DefaultHandler.cpp b/ACE/ACEXML/common/DefaultHandler.cpp index eddd989b44e..2338518e312 100644 --- a/ACE/ACEXML/common/DefaultHandler.cpp +++ b/ACE/ACEXML/common/DefaultHandler.cpp @@ -4,12 +4,10 @@ ACEXML_DefaultHandler::ACEXML_DefaultHandler (void) { - // no-op } ACEXML_DefaultHandler::~ACEXML_DefaultHandler (void) { - // no-op } void @@ -17,13 +15,11 @@ ACEXML_DefaultHandler::characters (const ACEXML_Char *, size_t, size_t) { - // No-op. } void ACEXML_DefaultHandler::endDocument (void) { - // No-op. } void @@ -31,7 +27,6 @@ ACEXML_DefaultHandler::endElement (const ACEXML_Char *, const ACEXML_Char *, const ACEXML_Char *) { - // No-op. } void diff --git a/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp b/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp index 11cd6fce1f1..bebc001277a 100644 --- a/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp +++ b/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp @@ -11,7 +11,6 @@ ACEXML_SAXPrint_Handler::ACEXML_SAXPrint_Handler (const ACEXML_Char* filename) : indent_ (0), fileName_(ACE::strnew (filename)), locator_ (0) { - // no-op } ACEXML_SAXPrint_Handler::~ACEXML_SAXPrint_Handler (void) diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp index 70e107283d4..6602ec8030e 100644 --- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp +++ b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_base.cpp @@ -182,14 +182,12 @@ be_visitor_sequence_base_template_args (be_visitor_context *ctx, : be_visitor_sequence_base (ctx), beseq_ (seq) { - // no-op } be_visitor_sequence_base_template_args:: ~be_visitor_sequence_base_template_args (void) { - //no-op } int diff --git a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp b/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp index dffe423c889..112232beb13 100644 --- a/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp +++ b/TAO/examples/Callback_Quoter/Notifier_Input_Handler.cpp @@ -25,7 +25,6 @@ Notifier_Input_Handler::Notifier_Input_Handler (void) argv_ (0), using_naming_service_ (1) { - // no-op. } // Destructor. diff --git a/TAO/examples/Event_Comm/Notifier_Server.cpp b/TAO/examples/Event_Comm/Notifier_Server.cpp index 05b7eb175aa..ece19d92bfa 100644 --- a/TAO/examples/Event_Comm/Notifier_Server.cpp +++ b/TAO/examples/Event_Comm/Notifier_Server.cpp @@ -6,14 +6,12 @@ // Constructor. Notifier_Server::Notifier_Server (void) { - // no-op. } // Destructor. Notifier_Server::~Notifier_Server (void) { - // no-op. } int diff --git a/TAO/examples/OBV/Simple_util.cpp b/TAO/examples/OBV/Simple_util.cpp index 83d39bc3037..35b1ec5c4a0 100644 --- a/TAO/examples/OBV/Simple_util.cpp +++ b/TAO/examples/OBV/Simple_util.cpp @@ -16,11 +16,9 @@ template <class Servant> Server<Servant>::Server (void) : ior_output_file_ (0) { - // no-op. } // Destructor. - template <class Servant> Server<Servant>::~Server (void) { diff --git a/TAO/examples/Persistent_Grid/Grid_i.cpp b/TAO/examples/Persistent_Grid/Grid_i.cpp index 89f5082b7dc..91ed608427f 100644 --- a/TAO/examples/Persistent_Grid/Grid_i.cpp +++ b/TAO/examples/Persistent_Grid/Grid_i.cpp @@ -60,7 +60,6 @@ Grid_i::Grid_i (CORBA::Short x, Grid_i::~Grid_i (void) { - // no-op. } // Set a value in the grid. @@ -148,7 +147,6 @@ Grid_Factory_i::Grid_Factory_i (void) pool_name_ (0), pool_t_ (0) { - // no-op } // Destructor @@ -156,7 +154,6 @@ Grid_Factory_i::Grid_Factory_i (void) Grid_Factory_i::~Grid_Factory_i (void) { delete this->pool_t_; - // no-op } // Make a <Grid>. diff --git a/TAO/examples/Persistent_Grid/Simple_util.cpp b/TAO/examples/Persistent_Grid/Simple_util.cpp index 98c926c63d7..d692a78648d 100644 --- a/TAO/examples/Persistent_Grid/Simple_util.cpp +++ b/TAO/examples/Persistent_Grid/Simple_util.cpp @@ -14,7 +14,6 @@ Server<Servant>::Server (void) : ior_output_file_ (0), mem_pool_name_ (0) { - // no-op. } // Destructor. diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp index b598f94f81e..9b5d7de3b6c 100644 --- a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp +++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp @@ -7,13 +7,11 @@ UDP_i::UDP_i (void) : messages_count_ (0) , wrong_messages_count_ (0) { - // no-op } // Destructor UDP_i::~UDP_i (void) { - // no-op } // Set the ORB pointer. diff --git a/TAO/examples/Simple/bank/AccountManager_i.cpp b/TAO/examples/Simple/bank/AccountManager_i.cpp index 7ce8ccbb7b0..35010cece90 100644 --- a/TAO/examples/Simple/bank/AccountManager_i.cpp +++ b/TAO/examples/Simple/bank/AccountManager_i.cpp @@ -7,7 +7,6 @@ AccountManager_i::AccountManager_i (void) : orb_manager_ (0) { - // no-op } // Destructor diff --git a/TAO/examples/Simple/bank/Account_i.cpp b/TAO/examples/Simple/bank/Account_i.cpp index 799af2aac41..e301f7fab97 100644 --- a/TAO/examples/Simple/bank/Account_i.cpp +++ b/TAO/examples/Simple/bank/Account_i.cpp @@ -3,7 +3,6 @@ // Constructor Account_i::Account_i (void) { - // no-op } Account_i::Account_i (const char *name, diff --git a/TAO/examples/Simple/grid/Grid_i.cpp b/TAO/examples/Simple/grid/Grid_i.cpp index 7dc8050e1aa..52419e2f08b 100644 --- a/TAO/examples/Simple/grid/Grid_i.cpp +++ b/TAO/examples/Simple/grid/Grid_i.cpp @@ -162,7 +162,6 @@ Grid_Factory_i::shutdown (void) // Constructor Grid_Factory_i::Grid_Factory_i (void) { - // no-op } // Destructor diff --git a/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp b/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp index eb6ee7133f6..346a83df81f 100644 --- a/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp +++ b/TAO/examples/Simple/time-date/Time_Date_Client_i.cpp @@ -7,13 +7,11 @@ // Constructor. Time_Date_Client_i::Time_Date_Client_i (void) { - // no-op } //Destructor. Time_Date_Client_i::~Time_Date_Client_i (void) { - // no-op } int diff --git a/TAO/examples/Simple/time/Time_i.cpp b/TAO/examples/Simple/time/Time_i.cpp index e65b6add559..65dd56da074 100644 --- a/TAO/examples/Simple/time/Time_i.cpp +++ b/TAO/examples/Simple/time/Time_i.cpp @@ -4,13 +4,11 @@ // Constructor Time_i::Time_i (void) { - // no-op } // Destructor Time_i::~Time_i (void) { - // no-op } // Set the ORB pointer. diff --git a/TAO/orbsvcs/FT_ReplicationManager/FT_DefaultFaultAnalyzer.cpp b/TAO/orbsvcs/FT_ReplicationManager/FT_DefaultFaultAnalyzer.cpp index b4fbd8f6e5a..0b603da919c 100644 --- a/TAO/orbsvcs/FT_ReplicationManager/FT_DefaultFaultAnalyzer.cpp +++ b/TAO/orbsvcs/FT_ReplicationManager/FT_DefaultFaultAnalyzer.cpp @@ -157,7 +157,6 @@ int TAO::FT_DefaultFaultAnalyzer::analyze_fault_event ( )); } - // no-op return 0; } diff --git a/TAO/orbsvcs/ImplRepo_Service/AsyncAccessManager.cpp b/TAO/orbsvcs/ImplRepo_Service/AsyncAccessManager.cpp index 7317ef07a99..b5603c1081f 100644 --- a/TAO/orbsvcs/ImplRepo_Service/AsyncAccessManager.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/AsyncAccessManager.cpp @@ -792,25 +792,21 @@ ActivatorReceiver::start_server_excep (Messaging::ExceptionHolder *holder) void ActivatorReceiver::shutdown (void) { - // no-op, just satisfy virtual function } void ActivatorReceiver::shutdown_excep (Messaging::ExceptionHolder * ) { - // no-op, just satisfy virtual function } void ActivatorReceiver::kill_server (CORBA::Boolean ) { - // no-op, just satisfy virtual function } void ActivatorReceiver::kill_server_excep (Messaging::ExceptionHolder * ) { - // no-op, just satisfy virtual function } diff --git a/TAO/orbsvcs/ImplRepo_Service/Locator_Repository.cpp b/TAO/orbsvcs/ImplRepo_Service/Locator_Repository.cpp index a5559fa0d27..91a58124f98 100644 --- a/TAO/orbsvcs/ImplRepo_Service/Locator_Repository.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/Locator_Repository.cpp @@ -438,7 +438,6 @@ void Locator_Repository::notify_remote_access (const char *, ImplementationRepository::AAM_Status) { - // no-op default impl } Server_Info_Ptr diff --git a/TAO/orbsvcs/Time_Service/Clerk_i.cpp b/TAO/orbsvcs/Time_Service/Clerk_i.cpp index d0eb5acb343..2c4f4a1f46b 100644 --- a/TAO/orbsvcs/Time_Service/Clerk_i.cpp +++ b/TAO/orbsvcs/Time_Service/Clerk_i.cpp @@ -10,10 +10,7 @@ #include "ace/OS_NS_fcntl.h" #include "ace/os_include/os_netdb.h" - - // Constructor. - Clerk_i::Clerk_i (void) : ior_output_file_ (0), timer_value_ (3), @@ -21,19 +18,15 @@ Clerk_i::Clerk_i (void) server_ (Clerk_i::DEFAULT_SERVER_COUNT), ior_fp_ (0) { - // no-op. } // Destructor. - Clerk_i::~Clerk_i (void) { - // no-op. } // Reads the Time Service Server iors from a file instead of using a // naming service. - int Clerk_i::read_ior (const ACE_TCHAR* filename) { diff --git a/TAO/orbsvcs/Time_Service/Server_i.cpp b/TAO/orbsvcs/Time_Service/Server_i.cpp index bed1e69b2c3..ef6c3b7aa7e 100644 --- a/TAO/orbsvcs/Time_Service/Server_i.cpp +++ b/TAO/orbsvcs/Time_Service/Server_i.cpp @@ -8,24 +8,18 @@ #include "ace/OS_NS_string.h" #include "ace/os_include/os_netdb.h" - - // Constructor. Server_i::Server_i (void) : ior_output_file_ (0) { - // no-op. } // Destructor. - Server_i::~Server_i (void) { - // no-op. } // Parse the command-line arguments and set options. - int Server_i::parse_args (int argc, ACE_TCHAR* argv[]) diff --git a/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp b/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp index 7abe7aa92d8..bff251c8e52 100644 --- a/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/FlowSpec_Entry.cpp @@ -239,7 +239,7 @@ TAO_FlowSpec_Entry::parse_address (const char *address, TAO_AV_Core::Flow_Component flow_comp) { if (TAO_debug_level > 0) - ORBSVCS_DEBUG ((LM_DEBUG, "TAO_FlowSpec_Entry::parse_address [%s]\n", address)); + ORBSVCS_DEBUG ((LM_DEBUG, "TAO_FlowSpec_Entry::parse_address [%C]\n", address)); if (address == 0) return 0; @@ -491,7 +491,6 @@ TAO_FlowSpec_Entry::get_local_addr_str (void) // default constructor. TAO_Forward_FlowSpec_Entry::TAO_Forward_FlowSpec_Entry (void) { - // no-op. } // constructor to construct the entry from the arguments. @@ -510,7 +509,6 @@ TAO_Forward_FlowSpec_Entry::TAO_Forward_FlowSpec_Entry (const char *flowname, address, control_address) { - // no-op. } // constructor to construct the entry from the arguments. @@ -525,12 +523,10 @@ TAO_Forward_FlowSpec_Entry::TAO_Forward_FlowSpec_Entry (const char *flowname, flow_protocol, address) { - // no-op. } TAO_Forward_FlowSpec_Entry::~TAO_Forward_FlowSpec_Entry (void) { - // no-op. } int @@ -542,7 +538,7 @@ TAO_Forward_FlowSpec_Entry::parse (const char *flowSpec_entry) if (TAO_debug_level > 0) ORBSVCS_DEBUG ((LM_DEBUG, - "TAO_Forward_FlowSpec_Entry::parse [%s]\n", + "TAO_Forward_FlowSpec_Entry::parse [%C]\n", flowSpec_entry)); if (tokenizer [TAO_AV_DIRECTION] != 0) @@ -815,7 +811,7 @@ TAO_Forward_FlowSpec_Entry::entry_to_string (void) "No peer address specified\n")); if (TAO_debug_level > 0) - ORBSVCS_DEBUG ((LM_DEBUG,"Forward entry_to_string: entry = %s\n",this->entry_.c_str())); + ORBSVCS_DEBUG ((LM_DEBUG,"Forward entry_to_string: entry = %C\n",this->entry_.c_str())); return this->entry_.c_str(); } @@ -827,7 +823,6 @@ TAO_Forward_FlowSpec_Entry::entry_to_string (void) //default constructor. TAO_Reverse_FlowSpec_Entry::TAO_Reverse_FlowSpec_Entry (void) { - // no-op } // constructor to construct an entry from the arguments. @@ -846,7 +841,6 @@ TAO_Reverse_FlowSpec_Entry::TAO_Reverse_FlowSpec_Entry (const char *flowname, address, control_address) { - // no-op } // constructor to construct an entry from the arguments. @@ -861,12 +855,10 @@ TAO_Reverse_FlowSpec_Entry::TAO_Reverse_FlowSpec_Entry (const char *flowname, flow_protocol, address) { - // no-op. } TAO_Reverse_FlowSpec_Entry::~TAO_Reverse_FlowSpec_Entry (void) { - // no-op. } TAO_FlowSpec_Entry::Role @@ -895,7 +887,7 @@ TAO_Reverse_FlowSpec_Entry::parse (const char *flowSpec_entry) if (TAO_debug_level > 0) ORBSVCS_DEBUG ((LM_DEBUG, - "TAO_Reverse_FlowSpec_Entry::parse [%s]\n", + "TAO_Reverse_FlowSpec_Entry::parse [%C]\n", flowSpec_entry)); if (tokenizer [TAO_AV_ADDRESS] != 0) @@ -906,12 +898,6 @@ TAO_Reverse_FlowSpec_Entry::parse (const char *flowSpec_entry) if (this->parse_flow_protocol_string (tokenizer [TAO_AV_FLOW_PROTOCOL]) < 0) return -1; -// if (tokenizer [TAO_AV_DIRECTION] != 0) -// this->set_direction (tokenizer [TAO_AV_DIRECTION]); - -// if (tokenizer [TAO_AV_FORMAT] != 0) -// this->format_ = tokenizer [TAO_AV_FORMAT]; - return 0; } @@ -1004,12 +990,8 @@ TAO_Reverse_FlowSpec_Entry::entry_to_string (void) this->entry_ += address_str; this->entry_ += "\\"; this->entry_ += this->flow_protocol_; -// this->entry_ += "\\"; -// this->entry_ += this->direction_str_; -// this->entry_ += "\\"; -// this->entry_ += format_; - if (TAO_debug_level > 0) ORBSVCS_DEBUG ((LM_DEBUG,"Reverse entry_to_string: entry = %s\n",this->entry_.c_str() )); + if (TAO_debug_level > 0) ORBSVCS_DEBUG ((LM_DEBUG,"Reverse entry_to_string: entry = %C\n",this->entry_.c_str() )); return this->entry_.c_str(); } diff --git a/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.cpp b/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.cpp index e111b85e604..841f7fda285 100644 --- a/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/Protocol_Factory.cpp @@ -53,7 +53,6 @@ TAO_AV_Protocol_Object::TAO_AV_Protocol_Object (void) :transport_ (0), callback_ (0) { - // no-op. } TAO_AV_Protocol_Object::TAO_AV_Protocol_Object (TAO_AV_Callback *callback, @@ -61,7 +60,6 @@ TAO_AV_Protocol_Object::TAO_AV_Protocol_Object (TAO_AV_Callback *callback, :transport_ (transport), callback_ (callback) { - // no-op. } int diff --git a/TAO/orbsvcs/tests/Bug_2247_Regression/test_i.cpp b/TAO/orbsvcs/tests/Bug_2247_Regression/test_i.cpp index a756c0ffed4..e6639b2ffdc 100644 --- a/TAO/orbsvcs/tests/Bug_2247_Regression/test_i.cpp +++ b/TAO/orbsvcs/tests/Bug_2247_Regression/test_i.cpp @@ -12,7 +12,6 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb, const char* key) Simple_Server_i::Simple_Server_i (void) : orb_ (0) { - // no-op } char* diff --git a/TAO/orbsvcs/tests/Bug_2248_Regression/test_i.cpp b/TAO/orbsvcs/tests/Bug_2248_Regression/test_i.cpp index 0a5dbbadef1..cf2f94c7019 100644 --- a/TAO/orbsvcs/tests/Bug_2248_Regression/test_i.cpp +++ b/TAO/orbsvcs/tests/Bug_2248_Regression/test_i.cpp @@ -12,7 +12,6 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb, const char* key) Simple_Server_i::Simple_Server_i (void) : orb_ (0) { - // no-op } char* diff --git a/TAO/orbsvcs/tests/FaultTolerance/IOGR/test_i.cpp b/TAO/orbsvcs/tests/FaultTolerance/IOGR/test_i.cpp index 44b33d9fd24..6fff9977833 100644 --- a/TAO/orbsvcs/tests/FaultTolerance/IOGR/test_i.cpp +++ b/TAO/orbsvcs/tests/FaultTolerance/IOGR/test_i.cpp @@ -4,8 +4,6 @@ //#include "test_i.i" #endif /* __ACE_INLINE__ */ - - Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb) : orb_ (CORBA::ORB::_duplicate (orb)) { @@ -14,7 +12,6 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb) Simple_Server_i::Simple_Server_i (void) : orb_ (0) { - // no-op } void diff --git a/TAO/tao/LF_Multi_Event.cpp b/TAO/tao/LF_Multi_Event.cpp index e2b6601a888..4d15cfa1e0e 100644 --- a/TAO/tao/LF_Multi_Event.cpp +++ b/TAO/tao/LF_Multi_Event.cpp @@ -106,7 +106,6 @@ TAO_LF_Multi_Event::error_detected_i (void) const void TAO_LF_Multi_Event::state_changed_i (LFS_STATE ) { - // no-op } bool diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp index 5ba926432e4..ba263aa1bd9 100644 --- a/TAO/tao/Transport.cpp +++ b/TAO/tao/Transport.cpp @@ -116,7 +116,6 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL #if TAO_HAS_TRANSPORT_CURRENT == 1 TAO::Transport::Stats::~Stats () { - // no-op } #endif /* TAO_HAS_TRANSPORT_CURRENT == 1 */ diff --git a/TAO/tests/Big_Reply/Big_Reply_i.cpp b/TAO/tests/Big_Reply/Big_Reply_i.cpp index d26fceed65f..957614f04d6 100644 --- a/TAO/tests/Big_Reply/Big_Reply_i.cpp +++ b/TAO/tests/Big_Reply/Big_Reply_i.cpp @@ -9,7 +9,6 @@ Big_Reply_i::Big_Reply_i (CORBA::ORB_ptr orb, Big_Reply_i::~Big_Reply_i (void) { - // no-op } Test::Octet_Seq * diff --git a/TAO/tests/Bug_2935_Regression/sink_i.cpp b/TAO/tests/Bug_2935_Regression/sink_i.cpp index d55143af170..8e2f53db3f5 100644 --- a/TAO/tests/Bug_2935_Regression/sink_i.cpp +++ b/TAO/tests/Bug_2935_Regression/sink_i.cpp @@ -7,14 +7,11 @@ Sink_i::Sink_i (CORBA::ORB_ptr orb) , tickCount_(0) , tockCount_(0) { - // no-op } // Destructor - Sink_i::~Sink_i () { - // no-op } bool diff --git a/TAO/tests/Bug_3276_Regression/test_i.cpp b/TAO/tests/Bug_3276_Regression/test_i.cpp index 0783dca44a9..4b0a86e9382 100644 --- a/TAO/tests/Bug_3276_Regression/test_i.cpp +++ b/TAO/tests/Bug_3276_Regression/test_i.cpp @@ -3,7 +3,6 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb) : orb_ (CORBA::ORB::_duplicate (orb)) { - // no-op } void diff --git a/TAO/tests/CSD_Collocation/Collocation_Tester.cpp b/TAO/tests/CSD_Collocation/Collocation_Tester.cpp index 0b85fcbe51b..76f15b8057c 100644 --- a/TAO/tests/CSD_Collocation/Collocation_Tester.cpp +++ b/TAO/tests/CSD_Collocation/Collocation_Tester.cpp @@ -15,7 +15,6 @@ Collocation_Test::Collocation_Test (void) { - // no-op. } void diff --git a/TAO/tests/CSD_Collocation/Diamond_i.cpp b/TAO/tests/CSD_Collocation/Diamond_i.cpp index cede8ba100c..8210bbff906 100644 --- a/TAO/tests/CSD_Collocation/Diamond_i.cpp +++ b/TAO/tests/CSD_Collocation/Diamond_i.cpp @@ -2,12 +2,10 @@ Top_i::Top_i () { - // no-op. } Top_i::~Top_i () { - // No-op. } char * @@ -40,12 +38,10 @@ Left_i::color (void) Right_i::Right_i () { - // no-op. } Right_i::~Right_i () { - // no-op. } char * @@ -69,12 +65,10 @@ Right_i::width (void) Buttom_i::Buttom_i () { - // no-op. } Buttom_i::~Buttom_i () { - // no-op. } char * diff --git a/TAO/tests/Collocation/Collocation_Tester.cpp b/TAO/tests/Collocation/Collocation_Tester.cpp index fd7e27de07d..9aaf7b50507 100644 --- a/TAO/tests/Collocation/Collocation_Tester.cpp +++ b/TAO/tests/Collocation/Collocation_Tester.cpp @@ -15,7 +15,6 @@ Collocation_Test::Collocation_Test (void) { - // no-op. } void diff --git a/TAO/tests/Collocation/Diamond_i.cpp b/TAO/tests/Collocation/Diamond_i.cpp index 76500e00431..b28e1d0fe9c 100644 --- a/TAO/tests/Collocation/Diamond_i.cpp +++ b/TAO/tests/Collocation/Diamond_i.cpp @@ -2,12 +2,10 @@ Top_i::Top_i () { - // no-op. } Top_i::~Top_i () { - // No-op. } char * @@ -18,12 +16,10 @@ Top_i::shape (void) Left_i::Left_i () { - // No-op. } Left_i::~Left_i () { - // No-op. } char * @@ -40,12 +36,10 @@ Left_i::color (void) Right_i::Right_i () { - // no-op. } Right_i::~Right_i () { - // no-op. } char * @@ -69,12 +63,10 @@ Right_i::width (void) Buttom_i::Buttom_i () { - // no-op. } Buttom_i::~Buttom_i () { - // no-op. } char * diff --git a/TAO/tests/DIOP/UDP_i.cpp b/TAO/tests/DIOP/UDP_i.cpp index 9e4598bdb3c..bf8106c29e9 100644 --- a/TAO/tests/DIOP/UDP_i.cpp +++ b/TAO/tests/DIOP/UDP_i.cpp @@ -4,14 +4,11 @@ UDP_i::UDP_i (CORBA::ORB_ptr o) : orb_(CORBA::ORB::_duplicate (o)) { - // no-op } // Destructor - UDP_i::~UDP_i (void) { - // no-op } void diff --git a/TAO/tests/InterOp-Naming/INS_i.cpp b/TAO/tests/InterOp-Naming/INS_i.cpp index ee9cc39c811..0f1f28137e0 100644 --- a/TAO/tests/InterOp-Naming/INS_i.cpp +++ b/TAO/tests/InterOp-Naming/INS_i.cpp @@ -4,17 +4,14 @@ INS_i::INS_i (void) { - // no-op } // Destructor - INS_i::~INS_i (void) { } // Set the ORB pointer. - void INS_i::orb (CORBA::ORB_ptr o) { diff --git a/TAO/tests/InterOp-Naming/Server_i.cpp b/TAO/tests/InterOp-Naming/Server_i.cpp index 3bc1670be25..a77c39dc331 100644 --- a/TAO/tests/InterOp-Naming/Server_i.cpp +++ b/TAO/tests/InterOp-Naming/Server_i.cpp @@ -4,22 +4,18 @@ #include "ace/OS_NS_stdio.h" // Constructor. - Server_i::Server_i (void) : ior_output_file_ (0), ins_ (0) { - // no-op. } // Destructor. - Server_i::~Server_i (void) { } // Parse the command-line arguments and set options. - int Server_i::parse_args (void) { diff --git a/TAO/tests/MProfile/test_i.cpp b/TAO/tests/MProfile/test_i.cpp index 0c72e85ca20..11c2da0f4e5 100644 --- a/TAO/tests/MProfile/test_i.cpp +++ b/TAO/tests/MProfile/test_i.cpp @@ -9,7 +9,6 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb) Simple_Server_i::Simple_Server_i (void) : orb_ (0) { - // no-op } CORBA::Long diff --git a/TAO/tests/MProfile_Connection_Timeout/test_i.cpp b/TAO/tests/MProfile_Connection_Timeout/test_i.cpp index aace20bd464..f6823143bf7 100644 --- a/TAO/tests/MProfile_Connection_Timeout/test_i.cpp +++ b/TAO/tests/MProfile_Connection_Timeout/test_i.cpp @@ -15,7 +15,6 @@ Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb) Simple_Server_i::Simple_Server_i (void) : orb_ (0) { - // no-op } CORBA::ULongLong diff --git a/TAO/tests/MProfile_Forwarding/Servant_Locator.cpp b/TAO/tests/MProfile_Forwarding/Servant_Locator.cpp index 4869f779e32..a16d400c48c 100644 --- a/TAO/tests/MProfile_Forwarding/Servant_Locator.cpp +++ b/TAO/tests/MProfile_Forwarding/Servant_Locator.cpp @@ -17,15 +17,12 @@ #include "ace/OS_NS_string.h" Servant_Locator::Servant_Locator (CORBA::ORB_ptr orb_ptr) - : orb_var_ (CORBA::ORB::_duplicate (orb_ptr)) { - // no-op } Servant_Locator::~Servant_Locator () { - //delete servant_ptr_; } diff --git a/TAO/tests/MProfile_Forwarding/test_i.cpp b/TAO/tests/MProfile_Forwarding/test_i.cpp index c13b1242623..a6f2fed50ff 100644 --- a/TAO/tests/MProfile_Forwarding/test_i.cpp +++ b/TAO/tests/MProfile_Forwarding/test_i.cpp @@ -7,7 +7,6 @@ Simple_Server_i::Simple_Server_i (void) :orb_ (0) { - // no-op } void diff --git a/TAO/tests/OBV/Simple/Simple_util.cpp b/TAO/tests/OBV/Simple/Simple_util.cpp index c7bab2b9e48..118db532d9a 100644 --- a/TAO/tests/OBV/Simple/Simple_util.cpp +++ b/TAO/tests/OBV/Simple/Simple_util.cpp @@ -16,7 +16,6 @@ template <class Servant> Server<Servant>::Server (void) : ior_output_file_ (0) { - // no-op. } // Destructor. diff --git a/TAO/tests/RTCORBA/MT_Client_Protocol_Priority/test.idl b/TAO/tests/RTCORBA/MT_Client_Protocol_Priority/test.idl index 6869ac5e57f..2239a9345c3 100644 --- a/TAO/tests/RTCORBA/MT_Client_Protocol_Priority/test.idl +++ b/TAO/tests/RTCORBA/MT_Client_Protocol_Priority/test.idl @@ -1,9 +1,9 @@ interface Test { - void test_method (); // no-op. + void test_method (); - oneway void shutdown (); // Shut down the ORB. + oneway void shutdown (); }; diff --git a/TAO/tests/Smart_Proxies/Collocation/Coll_Tester.cpp b/TAO/tests/Smart_Proxies/Collocation/Coll_Tester.cpp index 0cf604ac6c9..6ea80855fc1 100644 --- a/TAO/tests/Smart_Proxies/Collocation/Coll_Tester.cpp +++ b/TAO/tests/Smart_Proxies/Collocation/Coll_Tester.cpp @@ -16,7 +16,6 @@ Collocation_Test::Collocation_Test (void) { - // no-op. } int diff --git a/TAO/tests/Smart_Proxies/Collocation/Diamond_i.cpp b/TAO/tests/Smart_Proxies/Collocation/Diamond_i.cpp index 76500e00431..6dcf936df1f 100644 --- a/TAO/tests/Smart_Proxies/Collocation/Diamond_i.cpp +++ b/TAO/tests/Smart_Proxies/Collocation/Diamond_i.cpp @@ -2,12 +2,10 @@ Top_i::Top_i () { - // no-op. } Top_i::~Top_i () { - // No-op. } char * @@ -40,12 +38,10 @@ Left_i::color (void) Right_i::Right_i () { - // no-op. } Right_i::~Right_i () { - // no-op. } char * @@ -69,12 +65,10 @@ Right_i::width (void) Buttom_i::Buttom_i () { - // no-op. } Buttom_i::~Buttom_i () { - // no-op. } char * |