From: Jelte Jansen Date: Wed, 5 Dec 2012 22:42:31 +0000 (+0100) Subject: [2378] minor doc and comment fixes X-Git-Tag: bind10-1.0.0-beta-release~28^2~2^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8fde1ab760f06e76c06e795b127f66784eb6aa7;p=thirdparty%2Fkea.git [2378] minor doc and comment fixes --- diff --git a/src/lib/datasrc/zone_loader.cc b/src/lib/datasrc/zone_loader.cc index 1d06740c3c..4cb3e0d92b 100644 --- a/src/lib/datasrc/zone_loader.cc +++ b/src/lib/datasrc/zone_loader.cc @@ -99,7 +99,7 @@ copyRRsets(const ZoneUpdaterPtr& destination, const ZoneIteratorPtr& source, return (false); // Not yet, there may be more } -} +} // end unnamed namespace bool ZoneLoader::loadIncremental(size_t limit) { @@ -132,5 +132,5 @@ ZoneLoader::loadIncremental(size_t limit) { } } -} -} +} // end namespace datasrc +} // end namespace isc diff --git a/src/lib/datasrc/zone_loader.h b/src/lib/datasrc/zone_loader.h index 5f5ddfd399..37bc14a566 100644 --- a/src/lib/datasrc/zone_loader.h +++ b/src/lib/datasrc/zone_loader.h @@ -69,7 +69,7 @@ public: /// \throw DataSourceError in case the zone does not exist in destination. /// This class does not support creating brand new zones, only loading /// data into them. In case a new zone is needed, it must be created - /// beforehead. + /// beforehand. /// \throw DataSourceError in case of other (possibly low-level) errors, /// such as read-only data source or database error. ZoneLoader(DataSourceClient& destination, const isc::dns::Name& zone_name, @@ -86,13 +86,13 @@ public: /// \param source The data source from which the data would be read. /// \throw InvalidParameter in case the class of destination and source /// differs. + /// \throw NotImplemented in case the source data source client doesn't + /// provide an iterator. /// \throw DataSourceError in case the zone does not exist in destination. /// This class does not support creating brand new zones, only loading /// data into them. In case a new zone is needed, it must be created - /// beforehead. + /// beforehand. /// \throw DataSourceError in case the zone does not exist in the source. - /// \throw NotImplemented in case the source data source client doesn't - /// provide an iterator. /// \throw DataSourceError in case of other (possibly low-level) errors, /// such as read-only data source or database error. ZoneLoader(DataSourceClient& destination, const isc::dns::Name& zone_name, @@ -139,7 +139,7 @@ private: const ZoneIteratorPtr iterator_; /// \brief The destination zone updater const ZoneUpdaterPtr updater_; - /// \brief The master loader (for the loader mode) + /// \brief The master loader (for the master file mode) boost::scoped_ptr loader_; /// \brief Indicator if loading was completed bool complete_;