summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Advanced/ch_18/icp.cpp1
-rw-r--r--TAO/examples/Advanced/ch_18/server.h1
-rw-r--r--TAO/examples/Advanced/ch_21/icp.cpp4
-rw-r--r--TAO/examples/Advanced/ch_21/icp.h2
-rw-r--r--TAO/examples/Advanced/ch_21/server.h1
-rw-r--r--TAO/examples/Advanced/ch_3/server.cpp2
-rw-r--r--TAO/examples/Advanced/ch_8_and_10/icp.cpp1
-rw-r--r--TAO/examples/Advanced/ch_8_and_10/server.h1
-rw-r--r--TAO/examples/Buffered_Oneways/client.cpp1
-rw-r--r--TAO/examples/Buffered_Oneways/server.cpp1
-rw-r--r--TAO/examples/Buffered_Oneways/test_i.cpp1
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp1
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool3/Foo_i.cpp1
-rw-r--r--TAO/examples/Content_Server/AMI_Iterator/Content_Iterator_i.cpp1
-rw-r--r--TAO/examples/Event_Comm/Supplier_Input_Handler.cpp1
-rw-r--r--TAO/examples/Kokyu_dsrt_schedulers/EDF_Scheduler.cpp1
-rw-r--r--TAO/examples/Load_Balancing/Load_Balancing_Service.cpp1
-rw-r--r--TAO/examples/Load_Balancing_persistent/Identity_Server.cpp1
-rw-r--r--TAO/examples/Load_Balancing_persistent/Load_Balancer_i.cpp5
-rw-r--r--TAO/examples/Load_Balancing_persistent/Load_Balancing_Service.cpp1
-rw-r--r--TAO/examples/OBV/Simple_util.cpp1
-rw-r--r--TAO/examples/OBV/Typed_Events/Server_i.cpp2
-rw-r--r--TAO/examples/Persistent_Grid/Simple_util.cpp1
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp1
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/client.cpp2
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/server.cpp1
-rw-r--r--TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp1
-rw-r--r--TAO/examples/Quoter/Generic_Factory_i.cpp2
-rw-r--r--TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.h1
-rw-r--r--TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp2
-rw-r--r--TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp2
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp2
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp1
-rw-r--r--TAO/examples/TypeCode_Creation/main.cpp1
-rw-r--r--TAO/examples/mfc/StdAfx.cpp1
35 files changed, 0 insertions, 50 deletions
diff --git a/TAO/examples/Advanced/ch_18/icp.cpp b/TAO/examples/Advanced/ch_18/icp.cpp
index 1717861115a..0f93686ee37 100644
--- a/TAO/examples/Advanced/ch_18/icp.cpp
+++ b/TAO/examples/Advanced/ch_18/icp.cpp
@@ -12,7 +12,6 @@
-
#include <string>
#include <map>
#include <algorithm>
diff --git a/TAO/examples/Advanced/ch_18/server.h b/TAO/examples/Advanced/ch_18/server.h
index 97b6ed266ba..d3c9e58be7e 100644
--- a/TAO/examples/Advanced/ch_18/server.h
+++ b/TAO/examples/Advanced/ch_18/server.h
@@ -12,7 +12,6 @@
-
#ifndef server_HH_
#define server_HH_
diff --git a/TAO/examples/Advanced/ch_21/icp.cpp b/TAO/examples/Advanced/ch_21/icp.cpp
index 2cb291765f9..cc6a4e0213b 100644
--- a/TAO/examples/Advanced/ch_21/icp.cpp
+++ b/TAO/examples/Advanced/ch_21/icp.cpp
@@ -12,7 +12,6 @@
-
#include <string>
#include <map>
#include <algorithm>
@@ -388,6 +387,3 @@ static ICP_Persist mydb("/tmp/CCS_DB");
-
-
-
diff --git a/TAO/examples/Advanced/ch_21/icp.h b/TAO/examples/Advanced/ch_21/icp.h
index 367dba07e09..6174b4b9b17 100644
--- a/TAO/examples/Advanced/ch_21/icp.h
+++ b/TAO/examples/Advanced/ch_21/icp.h
@@ -37,5 +37,3 @@ extern "C" {
-
-
diff --git a/TAO/examples/Advanced/ch_21/server.h b/TAO/examples/Advanced/ch_21/server.h
index f0c94184bc1..ed8bba2774e 100644
--- a/TAO/examples/Advanced/ch_21/server.h
+++ b/TAO/examples/Advanced/ch_21/server.h
@@ -12,7 +12,6 @@
-
#ifndef server_HH_
#define server_HH_
diff --git a/TAO/examples/Advanced/ch_3/server.cpp b/TAO/examples/Advanced/ch_3/server.cpp
index b59b38df1c2..a47c32f9579 100644
--- a/TAO/examples/Advanced/ch_3/server.cpp
+++ b/TAO/examples/Advanced/ch_3/server.cpp
@@ -81,5 +81,3 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
-
-
diff --git a/TAO/examples/Advanced/ch_8_and_10/icp.cpp b/TAO/examples/Advanced/ch_8_and_10/icp.cpp
index 4788e48ac07..c0223f2b86c 100644
--- a/TAO/examples/Advanced/ch_8_and_10/icp.cpp
+++ b/TAO/examples/Advanced/ch_8_and_10/icp.cpp
@@ -12,7 +12,6 @@
-
#include <string>
#include <map>
#include <algorithm>
diff --git a/TAO/examples/Advanced/ch_8_and_10/server.h b/TAO/examples/Advanced/ch_8_and_10/server.h
index 45d0c88a980..925de61a5b2 100644
--- a/TAO/examples/Advanced/ch_8_and_10/server.h
+++ b/TAO/examples/Advanced/ch_8_and_10/server.h
@@ -12,7 +12,6 @@
-
#ifndef server_HH_
#define server_HH_
diff --git a/TAO/examples/Buffered_Oneways/client.cpp b/TAO/examples/Buffered_Oneways/client.cpp
index ab440861826..35495e04ba8 100644
--- a/TAO/examples/Buffered_Oneways/client.cpp
+++ b/TAO/examples/Buffered_Oneways/client.cpp
@@ -18,7 +18,6 @@
#include "ace/Read_Buffer.h"
-
// Name of file contains ior.
static const ACE_TCHAR *IOR = ACE_TEXT ("file://ior");
diff --git a/TAO/examples/Buffered_Oneways/server.cpp b/TAO/examples/Buffered_Oneways/server.cpp
index 0956a0c58c1..5b0cd76c6b0 100644
--- a/TAO/examples/Buffered_Oneways/server.cpp
+++ b/TAO/examples/Buffered_Oneways/server.cpp
@@ -3,7 +3,6 @@
#include "ace/OS_NS_stdio.h"
-
const ACE_TCHAR *ior_output_file = ACE_TEXT("ior");
int
diff --git a/TAO/examples/Buffered_Oneways/test_i.cpp b/TAO/examples/Buffered_Oneways/test_i.cpp
index a35f50caa4d..332bfb5d808 100644
--- a/TAO/examples/Buffered_Oneways/test_i.cpp
+++ b/TAO/examples/Buffered_Oneways/test_i.cpp
@@ -1,7 +1,6 @@
#include "test_i.h"
-
test_i::test_i (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp b/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp
index 035329c2b13..ef25dc055cb 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/ClientApp.cpp
@@ -86,7 +86,6 @@ ClientApp::run(int argc, ACE_TCHAR* argv[])
}
-
int
ClientApp::parse_args(int argc, ACE_TCHAR* argv[])
{
diff --git a/TAO/examples/CSD_Strategy/ThreadPool3/Foo_i.cpp b/TAO/examples/CSD_Strategy/ThreadPool3/Foo_i.cpp
index 5018a78c872..f7d79613a9d 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool3/Foo_i.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool3/Foo_i.cpp
@@ -34,7 +34,6 @@ Foo_i::op3(void)
}
-
void
Foo_i::op4(CORBA::Long value)
{
diff --git a/TAO/examples/Content_Server/AMI_Iterator/Content_Iterator_i.cpp b/TAO/examples/Content_Server/AMI_Iterator/Content_Iterator_i.cpp
index ef4f4883e4a..c3d2dd11196 100644
--- a/TAO/examples/Content_Server/AMI_Iterator/Content_Iterator_i.cpp
+++ b/TAO/examples/Content_Server/AMI_Iterator/Content_Iterator_i.cpp
@@ -6,7 +6,6 @@
#include "Content_Iterator_i.h"
-
Content_Iterator_i::Content_Iterator_i (const char *pathname,
CORBA::ULongLong file_size)
: file_ (ACE_TEXT_CHAR_TO_TCHAR(pathname)),
diff --git a/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp b/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
index cef8fb40b2c..f185296101e 100644
--- a/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
+++ b/TAO/examples/Event_Comm/Supplier_Input_Handler.cpp
@@ -84,7 +84,6 @@ Supplier_Input_Handler::handle_input (ACE_HANDLE)
}
-
if (ACE_OS::strncmp (buf, "quit", 4) == 0)
// Tell the main event loop to shutdown.
this->notifier_->shutdown ();
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/EDF_Scheduler.cpp b/TAO/examples/Kokyu_dsrt_schedulers/EDF_Scheduler.cpp
index 688e14eff77..5347c00ac99 100644
--- a/TAO/examples/Kokyu_dsrt_schedulers/EDF_Scheduler.cpp
+++ b/TAO/examples/Kokyu_dsrt_schedulers/EDF_Scheduler.cpp
@@ -340,7 +340,6 @@ EDF_Scheduler::receive_request (PortableInterceptor::ServerRequestInfo_ptr ri,
DSUI_EVENT_LOG (EDF_SCHED_FAM, ENTER_SERVER_SCHED_TIME, 0, 0, 0);
-
#ifdef KOKYU_DSRT_LOGGING
ACE_DEBUG ((LM_DEBUG, "(%t|%T):entered EDF_Scheduler::receive_request\n"));
#endif
diff --git a/TAO/examples/Load_Balancing/Load_Balancing_Service.cpp b/TAO/examples/Load_Balancing/Load_Balancing_Service.cpp
index 0cb1fc165ba..68363132cfc 100644
--- a/TAO/examples/Load_Balancing/Load_Balancing_Service.cpp
+++ b/TAO/examples/Load_Balancing/Load_Balancing_Service.cpp
@@ -105,7 +105,6 @@ Load_Balancing_Service::init (int argc,
}
-
int
Load_Balancing_Service::run (void)
{
diff --git a/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp b/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp
index e6a4069813d..68b6743e709 100644
--- a/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp
+++ b/TAO/examples/Load_Balancing_persistent/Identity_Server.cpp
@@ -103,7 +103,6 @@ Identity_Server::register_groups (void)
{
-
// Contact the <Object_Group_Factory> to create 2
// <Object_Group>s, one random and one rr.
CORBA::ORB_var orb = orb_manager_.orb ();
diff --git a/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.cpp b/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.cpp
index 24294b84f8a..ddd0a0d150c 100644
--- a/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.cpp
+++ b/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.cpp
@@ -229,7 +229,6 @@ Object_Group_Factory_i::make_group (int random,
}
-
// As we are sure that it is not in the list go ahead and insert it
if (random)
ACE_NEW_THROW_EX (group_servant,
@@ -285,7 +284,6 @@ Object_Group_Factory_i::make_group (int random,
}
-
// Update the value of flags_
this->update_flags (random);
@@ -310,7 +308,6 @@ Object_Group_Factory_i::resolve (const char * id)
{
-
#if defined (DOORS_MEASURE_STATS)
// Time the calls
// Record the entry time.
@@ -389,7 +386,6 @@ Object_Group_Factory_i::resolve (const char * id)
object_group = Load_Balancer::Object_Group::_narrow (objref.in ());
-
#if defined (DOORS_MEASURE_STATS)
// Grab timestamp again.
ACE_hrtime_t now = ACE_OS::gethrtime ();
@@ -756,7 +752,6 @@ Object_Group_i::unbind (const char * id)
}
-
Object_Group_i::ITERATOR iter (*(this->member_id_list_));
while (ACE_OS::strcmp (id,*(iter.next ())))
diff --git a/TAO/examples/Load_Balancing_persistent/Load_Balancing_Service.cpp b/TAO/examples/Load_Balancing_persistent/Load_Balancing_Service.cpp
index f22a46aea6a..78028eecc73 100644
--- a/TAO/examples/Load_Balancing_persistent/Load_Balancing_Service.cpp
+++ b/TAO/examples/Load_Balancing_persistent/Load_Balancing_Service.cpp
@@ -135,7 +135,6 @@ Load_Balancing_Service::init (int argc, ACE_TCHAR* argv[])
}
-
int
Load_Balancing_Service::run (void)
{
diff --git a/TAO/examples/OBV/Simple_util.cpp b/TAO/examples/OBV/Simple_util.cpp
index 8c2475d30d2..35a70e74c07 100644
--- a/TAO/examples/OBV/Simple_util.cpp
+++ b/TAO/examples/OBV/Simple_util.cpp
@@ -230,7 +230,6 @@ Client<InterfaceObj, Var>::init (const char *name,
this->argv_ = argv;
-
try
{
// Retrieve the ORB.
diff --git a/TAO/examples/OBV/Typed_Events/Server_i.cpp b/TAO/examples/OBV/Typed_Events/Server_i.cpp
index 2cdd221fc7b..e317239e1d2 100644
--- a/TAO/examples/OBV/Typed_Events/Server_i.cpp
+++ b/TAO/examples/OBV/Typed_Events/Server_i.cpp
@@ -9,7 +9,6 @@ Criterion_List_var criterions;
// Arriving events are tested against the list members.
-
// Set the ORB pointer, register OBV factories and init the
// lists declared above.
@@ -120,7 +119,6 @@ Checkpoint_i::put_event (Event *event)
}
-
// If we want to return the event (e.g. return type is Event *)
// return (DUP_REF (event));
// should be right.
diff --git a/TAO/examples/Persistent_Grid/Simple_util.cpp b/TAO/examples/Persistent_Grid/Simple_util.cpp
index d692a78648d..618d5a493ce 100644
--- a/TAO/examples/Persistent_Grid/Simple_util.cpp
+++ b/TAO/examples/Persistent_Grid/Simple_util.cpp
@@ -144,7 +144,6 @@ Server<Servant>::run (void)
}
-
/////////////////////////////////////////////////////////////////
// Client code Starts here
////////////////////////////////////////////////////////////////
diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp
index 18a7e506b5d..47d93a2863d 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp
@@ -1,7 +1,6 @@
#include "UDP_i.h"
-
// Constructor
UDP_i::UDP_i (void)
: messages_count_ (0)
diff --git a/TAO/examples/PluggableUDP/tests/Performance/client.cpp b/TAO/examples/PluggableUDP/tests/Performance/client.cpp
index b16acb89b2d..ab2308011fd 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/client.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/client.cpp
@@ -10,7 +10,6 @@
//=============================================================================
-
#include "ace/Get_Opt.h"
#include "ace/Task.h"
@@ -24,7 +23,6 @@
#include "tao/Strategies/advanced_resource.h"
-
const ACE_TCHAR *ior = ACE_TEXT("file://test.ior");
ACE_UINT32 burst_messages = 1000;
diff --git a/TAO/examples/PluggableUDP/tests/Performance/server.cpp b/TAO/examples/PluggableUDP/tests/Performance/server.cpp
index 379e624c0af..d0c1655024a 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/server.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/server.cpp
@@ -21,7 +21,6 @@
-
const ACE_TCHAR *ior_output_file = ACE_TEXT("test.ior");
int orb_threads = 1; // Number of threads running inside the ORB.
diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp
index 06757f4f51a..3ce36a8aaba 100644
--- a/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp
+++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp
@@ -10,7 +10,6 @@
//=============================================================================
-
#include "ace/Get_Opt.h"
#include "test_i.h"
diff --git a/TAO/examples/Quoter/Generic_Factory_i.cpp b/TAO/examples/Quoter/Generic_Factory_i.cpp
index 5ba2333b03c..16c937b5805 100644
--- a/TAO/examples/Quoter/Generic_Factory_i.cpp
+++ b/TAO/examples/Quoter/Generic_Factory_i.cpp
@@ -36,7 +36,6 @@ Quoter_Generic_Factory_i::supports (const CosLifeCycle::Key &)
}
-
CosNaming::NamingContext_ptr
Quoter_Generic_Factory_i::get_naming_context (const CosLifeCycle::Key &factory_key)
{
@@ -78,7 +77,6 @@ Quoter_Generic_Factory_i::get_naming_context (const CosLifeCycle::Key &factory_k
}
-
CORBA::Object_ptr
Quoter_Generic_Factory_i::create_object (const CosLifeCycle::Key &factory_key,
const CosLifeCycle::Criteria &)
diff --git a/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.h b/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.h
index da92f0532cc..3d87db7a750 100644
--- a/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.h
+++ b/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/test.h
@@ -39,7 +39,6 @@ class DT_Test :public ACE_Task <ACE_SYNCH>
virtual int svc ();
-
private:
/// = Policies
long thr_sched_policy_;
diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
index 750be01de8b..3157582646d 100644
--- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
@@ -303,7 +303,6 @@ DOVE_Supplier::use_prev_connection ()
}
-
// -------------------- Internal Demo Supplier -----------------------------
DOVE_Supplier::Internal_DOVE_Supplier::Internal_DOVE_Supplier (DOVE_Supplier *impl_ptr)
@@ -400,7 +399,6 @@ DOVE_Supplier::connect_Supplier ()
static_cast<RtecScheduler::Info_Type_t> (this->current_connection_params_->pod_rt_info_.info_type));
-
// Set the publications to report them to the event channel.
CORBA::Short x = 0;
diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp
index fb2b427f324..cc5324ee9f9 100644
--- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp
@@ -431,7 +431,6 @@ DualEC_Supplier::run_weap_thread (void *arg)
}
-
// Create two scheduling service instances, register
// them with the Naming Service.
@@ -1032,7 +1031,6 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
}
-
try
{
// Initialize ORB.
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
index 5afcf85c89c..00b3d45ed12 100644
--- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
@@ -330,7 +330,6 @@ Event_Supplier::insert_event_data (CORBA::Any &data,
}
-
if (last_completion > (*sched_data)->completion_time)
last_completion = 0;
@@ -361,7 +360,6 @@ Event_Supplier::insert_event_data (CORBA::Any &data,
}
-
// Function get_options.
unsigned int
diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp
index 2f343983540..4286b337b02 100644
--- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp
@@ -364,7 +364,6 @@ Logging_Supplier::insert_event_data (CORBA::Any &data,
}
-
if (last_completion > (*sched_data)->completion_time)
last_completion = 0;
diff --git a/TAO/examples/TypeCode_Creation/main.cpp b/TAO/examples/TypeCode_Creation/main.cpp
index ba0c21c4a93..789df8ee0fb 100644
--- a/TAO/examples/TypeCode_Creation/main.cpp
+++ b/TAO/examples/TypeCode_Creation/main.cpp
@@ -3,7 +3,6 @@
#include "tao/TypeCodeFactory/TypeCodeFactory_Adapter_Impl.h"
-
int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
try
diff --git a/TAO/examples/mfc/StdAfx.cpp b/TAO/examples/mfc/StdAfx.cpp
index bd1211b1c68..f02b85711c1 100644
--- a/TAO/examples/mfc/StdAfx.cpp
+++ b/TAO/examples/mfc/StdAfx.cpp
@@ -5,4 +5,3 @@
#include "stdafx.h"
-