]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2378] minor doc and comment fixes
authorJelte Jansen <jelte@isc.org>
Wed, 5 Dec 2012 22:42:31 +0000 (23:42 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 13 Dec 2012 10:33:57 +0000 (11:33 +0100)
src/lib/datasrc/zone_loader.cc
src/lib/datasrc/zone_loader.h

index 1d06740c3c574087713c015981109ac6d156d3fe..4cb3e0d92b2c98fd9939904da35a2f77ce208a6c 100644 (file)
@@ -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
index 5f5ddfd399477194c597121ff2e5d552f23cff31..37bc14a5664ddf123b340012ba562608f3ab4f44 100644 (file)
@@ -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<isc::dns::MasterLoader> loader_;
     /// \brief Indicator if loading was completed
     bool complete_;