BIND 10 trac2378, updated. 537d5346c160136eceeae3ae4f7b2909683bf27b [2378] minor doc and comment fixes

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Dec 6 10:25:39 UTC 2012


The branch, trac2378 has been updated
       via  537d5346c160136eceeae3ae4f7b2909683bf27b (commit)
      from  52f964ebdc8687ee237a651849bea7c5d3301199 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 537d5346c160136eceeae3ae4f7b2909683bf27b
Author: Jelte Jansen <jelte at isc.org>
Date:   Wed Dec 5 23:42:31 2012 +0100

    [2378] minor doc and comment fixes

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/zone_loader.cc |    6 +++---
 src/lib/datasrc/zone_loader.h  |   10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/zone_loader.cc b/src/lib/datasrc/zone_loader.cc
index 1d06740..4cb3e0d 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 5f5ddfd..37bc14a 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<isc::dns::MasterLoader> loader_;
     /// \brief Indicator if loading was completed
     bool complete_;



More information about the bind10-changes mailing list