From fbe2afce7458c2f253f7d2a8a7c394de80cff595 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 27 Oct 2016 20:31:23 +0200 Subject: Fixed typos in comment * ACE/ace/Asynch_IO.h: * ACE/ace/CDR_Stream.h: * ACE/ace/Hash_Map_Manager_T.h: * ACE/ace/Hash_Multi_Map_Manager_T.h: * ACE/ace/Malloc_T.cpp: * ACE/ace/Map_Manager.h: * ACE/ace/POSIX_Asynch_IO.h: * ACE/ace/SSL/SSL_Context.h: * ACE/websvcs/lib/URL_Addr.h: * TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/Safe_InputCDR.h: * TAO/orbsvcs/tests/AVStreams/Pluggable/ftp.h: * TAO/orbsvcs/tests/Notify/Basic/Events.h: * TAO/orbsvcs/tests/Notify/Basic/Simple.h: * TAO/orbsvcs/tests/Notify/Basic/Updates.h: * TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h: * TAO/tao/CDR.h: --- ACE/ace/Asynch_IO.h | 8 ++++---- ACE/ace/CDR_Stream.h | 6 +++--- ACE/ace/Hash_Map_Manager_T.h | 8 ++++---- ACE/ace/Hash_Multi_Map_Manager_T.h | 4 ++-- ACE/ace/Malloc_T.cpp | 4 ++-- ACE/ace/Map_Manager.h | 4 ++-- ACE/ace/POSIX_Asynch_IO.h | 2 +- ACE/ace/SSL/SSL_Context.h | 2 +- ACE/websvcs/lib/URL_Addr.h | 2 +- TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/Safe_InputCDR.h | 2 +- TAO/orbsvcs/tests/AVStreams/Pluggable/ftp.h | 4 ++-- TAO/orbsvcs/tests/Notify/Basic/Events.h | 2 +- TAO/orbsvcs/tests/Notify/Basic/Simple.h | 2 +- TAO/orbsvcs/tests/Notify/Basic/Updates.h | 2 +- .../tests/Notify/performance-tests/Throughput/Throughput.h | 2 +- TAO/tao/CDR.h | 2 +- 16 files changed, 28 insertions(+), 28 deletions(-) diff --git a/ACE/ace/Asynch_IO.h b/ACE/ace/Asynch_IO.h index 6cc143d2404..1c7d5e4b827 100644 --- a/ACE/ace/Asynch_IO.h +++ b/ACE/ace/Asynch_IO.h @@ -983,13 +983,13 @@ public: ACE_Asynch_Accept_Result_Impl *implementation (void) const; protected: - /// Contructor. Implementation will not be deleted. + /// Constructor. Implementation will not be deleted. Result (ACE_Asynch_Accept_Result_Impl *implementation); /// Destructor. virtual ~Result (void); - /// Impelmentation class. + /// Implementation class. ACE_Asynch_Accept_Result_Impl *implementation_; }; private: @@ -1080,13 +1080,13 @@ public: ACE_Asynch_Connect_Result_Impl *implementation (void) const; protected: - /// Contructor. Implementation will not be deleted. + /// Constructor. Implementation will not be deleted. Result (ACE_Asynch_Connect_Result_Impl *implementation); /// Destructor. virtual ~Result (void); - /// Impelmentation class. + /// Implementation class. ACE_Asynch_Connect_Result_Impl *implementation_; }; private: diff --git a/ACE/ace/CDR_Stream.h b/ACE/ace/CDR_Stream.h index 8197b0f4be2..0413e392faa 100644 --- a/ACE/ace/CDR_Stream.h +++ b/ACE/ace/CDR_Stream.h @@ -121,7 +121,7 @@ public: /// with the alignment of @a data. /** * Create an output stream from an arbitrary buffer, care must be - * exercised with alignment, because this contructor will align if + * exercised with alignment, because this constructor will align if * needed. In this case @a data will not point to the start of the * output stream. @c begin()->rd_ptr() points to the start of the * output stream. See @c ACE_ptr_align_binary() to properly align a @@ -142,7 +142,7 @@ public: // careful with the alignment of . /** * Create an output stream from an arbitrary data block, care must be - * exercised with alignment, because this contructor will align if + * exercised with alignment, because this constructor will align if * needed. In this case @a data_block will not point to the * start of the output stream. begin()->rd_ptr() points to the start * off the output stream. See ACE_ptr_align_binary() to properly align a @@ -645,7 +645,7 @@ public: /** * Create an input stream from an arbitrary buffer. The buffer must - * be properly aligned because this contructor will *not* work if + * be properly aligned because this constructor will *not* work if * the buffer is aligned unproperly.See ACE_ptr_align_binary() for * instructions on how to align a pointer properly and use * ACE_CDR::MAX_ALIGNMENT for the correct alignment. diff --git a/ACE/ace/Hash_Map_Manager_T.h b/ACE/ace/Hash_Map_Manager_T.h index 36e885aabc2..abd75338018 100644 --- a/ACE/ace/Hash_Map_Manager_T.h +++ b/ACE/ace/Hash_Map_Manager_T.h @@ -604,7 +604,7 @@ public: typedef typename container_type::difference_type difference_type; // = Initialization method. - /// Contructor. + /// Constructor. /** * If @a head != @c false, the iterator constructed is positioned * at the head of the map. It is positioned at the end otherwise. @@ -618,7 +618,7 @@ public: ACE_LOCK> &mm, bool head); - /// Contructor. + /// Constructor. /** * This constructor positions the iterator to the given @a entry. */ @@ -703,7 +703,7 @@ public: typedef typename container_type::difference_type difference_type; // = Initialization method. - /// Contructor. If head the iterator constructed is positioned + /// Constructor. If head the iterator constructed is positioned /// at the head of the map, it is positioned at the end otherwise. ACE_Hash_Map_Const_Iterator_Base_Ex (const ACE_Hash_Map_Manager_Ex &mm, bool head); @@ -788,7 +788,7 @@ public: ACE_Hash_Map_Iterator_Ex (ACE_Hash_Map_Manager_Ex &mm, int tail = 0); - /// Contructor. + /// Constructor. /** * This constructor positions the iterator to the given @a entry. */ diff --git a/ACE/ace/Hash_Multi_Map_Manager_T.h b/ACE/ace/Hash_Multi_Map_Manager_T.h index a5de64c9c78..d8f149e3981 100644 --- a/ACE/ace/Hash_Multi_Map_Manager_T.h +++ b/ACE/ace/Hash_Multi_Map_Manager_T.h @@ -614,7 +614,7 @@ class ACE_Hash_Multi_Map_Iterator_Base { public: // = Initialization method. - /// Contructor. If @a head != 0, the iterator constructed is positioned + /// Constructor. If @a head != 0, the iterator constructed is positioned /// at the head of the map, it is positioned at the end otherwise. ACE_Hash_Multi_Map_Iterator_Base (ACE_Hash_Multi_Map_Manager &mm, int head); @@ -681,7 +681,7 @@ class ACE_Hash_Multi_Map_Const_Iterator_Base { public: // = Initialization method. - /// Contructor. If @a head != 0, the iterator constructed is positioned + /// Constructor. If @a head != 0, the iterator constructed is positioned /// at the head of the map, it is positioned at the end otherwise. ACE_Hash_Multi_Map_Const_Iterator_Base (const ACE_Hash_Multi_Map_Manager &mm, int head); diff --git a/ACE/ace/Malloc_T.cpp b/ACE/ace/Malloc_T.cpp index 1c6e12db4d1..a09505e6f38 100644 --- a/ACE/ace/Malloc_T.cpp +++ b/ACE/ace/Malloc_T.cpp @@ -50,7 +50,7 @@ ACE_Cached_Allocator::ACE_Cached_Allocator (size_t n_chunks) void* placement = this->pool_ + c * chunk_size; this->free_list_.add (new (placement) ACE_Cached_Mem_Pool_Node); } - // Put into free list using placement contructor, no real memory + // Put into free list using placement constructor, no real memory // allocation in the above . } @@ -128,7 +128,7 @@ ACE_Dynamic_Cached_Allocator::ACE_Dynamic_Cached_Allocator this->free_list_.add (new (placement) ACE_Cached_Mem_Pool_Node); } - // Put into free list using placement contructor, no real memory + // Put into free list using placement constructor, no real memory // allocation in the above . } diff --git a/ACE/ace/Map_Manager.h b/ACE/ace/Map_Manager.h index 05174496399..00e158ac6b1 100644 --- a/ACE/ace/Map_Manager.h +++ b/ACE/ace/Map_Manager.h @@ -451,7 +451,7 @@ class ACE_Map_Iterator_Base { public: // = Initialization method. - /// Contructor. If head != 0, the iterator constructed is positioned + /// Constructor. If head != 0, the iterator constructed is positioned /// at the head of the map, it is positioned at the end otherwise. ACE_Map_Iterator_Base (ACE_Map_Manager &mm); @@ -510,7 +510,7 @@ class ACE_Map_Const_Iterator_Base { public: // = Initialization method. - /// Contructor. If head != 0, the iterator constructed is positioned + /// Constructor. If head != 0, the iterator constructed is positioned /// at the head of the map, it is positioned at the end otherwise. ACE_Map_Const_Iterator_Base (const ACE_Map_Manager &mm); diff --git a/ACE/ace/POSIX_Asynch_IO.h b/ACE/ace/POSIX_Asynch_IO.h index ad920bc0e5c..2fde60e791c 100644 --- a/ACE/ace/POSIX_Asynch_IO.h +++ b/ACE/ace/POSIX_Asynch_IO.h @@ -181,7 +181,7 @@ public: ACE_POSIX_Proactor * posix_proactor (void) const; protected: - /// Contructor. + /// Constructor. ACE_POSIX_Asynch_Operation (ACE_POSIX_Proactor *posix_proactor); /// Destructor. diff --git a/ACE/ace/SSL/SSL_Context.h b/ACE/ace/SSL/SSL_Context.h index 177e8cdcc36..8d02eb7172d 100644 --- a/ACE/ace/SSL/SSL_Context.h +++ b/ACE/ace/SSL/SSL_Context.h @@ -37,7 +37,7 @@ public: /// Default constructor ACE_SSL_Data_File (void); - /// Contructor from a file name and the file type. + /// Constructor from a file name and the file type. ACE_SSL_Data_File (const char *file_name, int type = SSL_FILETYPE_PEM); diff --git a/ACE/websvcs/lib/URL_Addr.h b/ACE/websvcs/lib/URL_Addr.h index 8c1d05c6bcf..b88a22be341 100644 --- a/ACE/websvcs/lib/URL_Addr.h +++ b/ACE/websvcs/lib/URL_Addr.h @@ -48,7 +48,7 @@ public: /// Get the original URL const ACE_TCHAR *get_url (void) const; - /// Essentially the copy contructor. + /// Essentially the copy constructor. int set (const ACE_URL_Addr& address); /** diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/Safe_InputCDR.h b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/Safe_InputCDR.h index eddeb3a619c..6cf64655914 100644 --- a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/Safe_InputCDR.h +++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/Safe_InputCDR.h @@ -21,7 +21,7 @@ public: /** * Create an input stream from an arbitrary buffer. * - * This contructor will work no matter the buffer is aligned properly + * This constructor will work no matter the buffer is aligned properly * or not. If the buffer is not properly aligned, it will make a copy * of the buffer. */ diff --git a/TAO/orbsvcs/tests/AVStreams/Pluggable/ftp.h b/TAO/orbsvcs/tests/AVStreams/Pluggable/ftp.h index 0926bcc110a..bc2d2f3a855 100644 --- a/TAO/orbsvcs/tests/AVStreams/Pluggable/ftp.h +++ b/TAO/orbsvcs/tests/AVStreams/Pluggable/ftp.h @@ -53,11 +53,11 @@ class FTP_Client_StreamEndPoint : public TAO_Client_StreamEndPoint { public: - ///Contructor + /// Constructor FTP_Client_StreamEndPoint (void); /// Create the application client callback and return its handle to the - /// AVSTreams for further application callbacks + /// AVStreams for further application callbacks virtual int get_callback (const char *flowname, TAO_AV_Callback *&callback); diff --git a/TAO/orbsvcs/tests/Notify/Basic/Events.h b/TAO/orbsvcs/tests/Notify/Basic/Events.h index d6721675442..3710f290e09 100644 --- a/TAO/orbsvcs/tests/Notify/Basic/Events.h +++ b/TAO/orbsvcs/tests/Notify/Basic/Events.h @@ -28,7 +28,7 @@ class Events; class Event_StructuredPushConsumer : public TAO_Notify_Tests_StructuredPushConsumer { public: - /// Contructor. + /// Constructor. Event_StructuredPushConsumer (Events *test_client); // = StructuredPushSupplier methods. diff --git a/TAO/orbsvcs/tests/Notify/Basic/Simple.h b/TAO/orbsvcs/tests/Notify/Basic/Simple.h index 65f65725aaf..ad78485c81d 100644 --- a/TAO/orbsvcs/tests/Notify/Basic/Simple.h +++ b/TAO/orbsvcs/tests/Notify/Basic/Simple.h @@ -29,7 +29,7 @@ class Simple_Test; class Event_AnyPushConsumer : public TAO_Notify_Tests_PushConsumer { public: - /// Contructor. + /// Constructor. Event_AnyPushConsumer (Simple_Test *test_client); // = PushSupplier methods diff --git a/TAO/orbsvcs/tests/Notify/Basic/Updates.h b/TAO/orbsvcs/tests/Notify/Basic/Updates.h index 963cfd001a0..a75cf37d52f 100644 --- a/TAO/orbsvcs/tests/Notify/Basic/Updates.h +++ b/TAO/orbsvcs/tests/Notify/Basic/Updates.h @@ -28,7 +28,7 @@ class Updates; class Updates_StructuredPushConsumer : public TAO_Notify_Tests_StructuredPushConsumer { public: - /// Contructor. + /// Constructor. Updates_StructuredPushConsumer (Updates *test_client); /// Offer change is conveyed here. diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h index 8f168e038d9..8eabd5dd28b 100644 --- a/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h +++ b/TAO/orbsvcs/tests/Notify/performance-tests/Throughput/Throughput.h @@ -58,7 +58,7 @@ class Throughput_StructuredPushConsumer : public TAO_Notify_Tests_StructuredPushConsumer { public: - /// Contructor. + /// Constructor. Throughput_StructuredPushConsumer (Notify_Throughput *test_client); // = StructuredPushSupplier methods diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h index c06cf2f6874..65d120186f0 100644 --- a/TAO/tao/CDR.h +++ b/TAO/tao/CDR.h @@ -322,7 +322,7 @@ public: /** * Create an input stream from an arbitrary buffer, care must be - * exercised wrt alignment, because this contructor will *not* work + * exercised wrt alignment, because this constructor will *not* work * if the buffer is unproperly aligned. */ TAO_InputCDR (const char* buf, -- cgit v1.2.1