Browse Source

[2378] minor doc and comment fixes

Jelte Jansen 12 years ago
parent
commit
b8fde1ab76
2 changed files with 8 additions and 8 deletions
  1. 3 3
      src/lib/datasrc/zone_loader.cc
  2. 5 5
      src/lib/datasrc/zone_loader.h

+ 3 - 3
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

+ 5 - 5
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_;