From 614366ecdf049ddbcf5687b67d853ddd69697cc1 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Wed, 20 Jun 2007 17:47:55 +0000 Subject: [PATCH] - fixed some typos --- zypp/Arch.cc | 6 +++--- zypp/AutoDispose.h | 2 +- zypp/Callback.h | 6 +++--- zypp/Capability.h | 4 ++-- zypp/Fetcher.cc | 2 +- zypp/KeyRing.h | 2 +- zypp/NeedAType.h | 8 ++++---- zypp/PoolItem.h | 2 +- zypp/ResObject.h | 2 +- zypp/UpgradeStatistics.h | 2 +- zypp/ZYpp.h | 2 +- zypp/base/Exception.h | 2 +- zypp/base/Functional.h | 4 ++-- zypp/base/Unit.h | 2 +- zypp/base/WatchFile.h | 2 +- 15 files changed, 24 insertions(+), 24 deletions(-) diff --git a/zypp/Arch.cc b/zypp/Arch.cc index 3d7b2af..baf3b83 100644 --- a/zypp/Arch.cc +++ b/zypp/Arch.cc @@ -70,7 +70,7 @@ namespace zypp return _archStr == targetEntry_r._archStr; break; } - // This is a builtin: comatible if mentioned in targetEntry_r + // This is a builtin: compatible if mentioned in targetEntry_r return targetEntry_r._compatBits & _idBit; } @@ -97,7 +97,7 @@ namespace zypp } /** \relates Arch::CompatEntry ComaptSet ordering. - * \note This is purely based on _archStr, as required by class ComaptSet. + * \note This is purely based on _archStr, as required by class CompatSet. */ inline bool operator<( const Arch::CompatEntry & lhs, const Arch::CompatEntry & rhs ) { return lhs._archStr < rhs._archStr; } @@ -186,7 +186,7 @@ namespace zypp { // _noarch must have _idBit 0. // Other builtins have 1-bit set - // and are intiialized done on the fly. + // and are initialized done on the fly. _compatSet.insert( Arch::CompatEntry( _noarch, 0 ) ); /////////////////////////////////////////////////////////////////// // Define the CompatibleWith relation: diff --git a/zypp/AutoDispose.h b/zypp/AutoDispose.h index 4a32895..fa8d303 100644 --- a/zypp/AutoDispose.h +++ b/zypp/AutoDispose.h @@ -36,7 +36,7 @@ namespace zypp * should be immutable, you should use AutoDispose\. * * Pass a filename to the application and provide the appropriate - * code to be exectued when the file is no longer needed: + * code to be executed when the file is no longer needed: * \code * struct FileCache * { diff --git a/zypp/Callback.h b/zypp/Callback.h index 6aba072..6596bfe 100644 --- a/zypp/Callback.h +++ b/zypp/Callback.h @@ -42,7 +42,7 @@ namespace zypp * * That way the sending side does not need to know whether some receiver * is listening. And it enables the receiver to return a reasonable value, - * in case he's got no idea, what to else to return. + * in case he's got no idea, what else to return. * * \code * struct Foo : public callback::ReportBase @@ -98,10 +98,10 @@ namespace zypp * structure had to provide this value, so it's probabely better * than anything you \e invent. * \code - * int somefunktion() + * int somefunction() * { * ...// don't know what to return? - * return Foo::somefunktion(); + * return Foo::somefunction(); * } * \endcode * diff --git a/zypp/Capability.h b/zypp/Capability.h index c92c453..6824581 100644 --- a/zypp/Capability.h +++ b/zypp/Capability.h @@ -64,9 +64,9 @@ namespace zypp * \invariant Unified \c _pimpl asserted by CapFactory. * * \todo Need a trival return from matches. E.g. Conditional - * cpabilities must be able to indicate that they should be + * capabilities must be able to indicate that they should be * treated as if they were not present at all, if the precondition - * does no apply. Same for the defaut Capability. + * does no apply. Same for the default Capability. */ class Capability { diff --git a/zypp/Fetcher.cc b/zypp/Fetcher.cc index 7496513..98e1c4c 100644 --- a/zypp/Fetcher.cc +++ b/zypp/Fetcher.cc @@ -25,7 +25,7 @@ namespace zypp /** * Class to encapsulate the \ref OnMediaLocation object - * and the \ref FileChcker together + * and the \ref FileChecker together */ struct FetcherJob { diff --git a/zypp/KeyRing.h b/zypp/KeyRing.h index 596a92f..d9d4c8d 100644 --- a/zypp/KeyRing.h +++ b/zypp/KeyRing.h @@ -44,7 +44,7 @@ namespace zypp /** * This basically means, we know the key, but it is not trusted, Continue - * yes ir no?. Nothing else is performed (import, etc) + * yes or no?. Nothing else is performed (import, etc) */ virtual bool askUserToTrustKey( const PublicKey &key); diff --git a/zypp/NeedAType.h b/zypp/NeedAType.h index 9f252a0..cec3926 100644 --- a/zypp/NeedAType.h +++ b/zypp/NeedAType.h @@ -26,14 +26,14 @@ namespace zypp Whenever you find something that might be worth being a type, and not just an \c unsigned or \c string. Keep it here. - Start with a resonable \c typedef or \c class draft, so you + Start with a reasonable \c typedef or \c class draft, so you can start using the type within the implementation. If you're in need for interface methods, add them to the draft. Think about the interface and expected behaviour, but implement \b here just as much as you actually need. Goal is to provide a real class for it, or to find out that a - typedef is sufficient, ot the type is not needed anyway. + typedef is sufficient, or the type is not needed anyway. If you already implemented something which would fit into this group, but don't want to move it here, put doxygens @@ -47,7 +47,7 @@ namespace zypp /** Single line of (human readable) text. - probabely sufficient as typedef. we may use it to classify the + probably sufficient as typedef. we may use it to classify the various strings and string lists within resolvable and other classes. More a hint to the UI describing the purpose of the string. */ typedef std::string Label; @@ -59,7 +59,7 @@ namespace zypp /** Offer a License text and methods to remember confirmation. */ typedef std::string License; - /** An rpm package group value. Also provide acces to a + /** An rpm package group value. Also provide access to a * (singleton) tree like group hierarchy which contains * all existing groups. No more need to fiddle with YStringTreeItem * classes and forgetting to add parsed groups there for use in the UI. diff --git a/zypp/PoolItem.h b/zypp/PoolItem.h index 6a21442..9e036f1 100644 --- a/zypp/PoolItem.h +++ b/zypp/PoolItem.h @@ -29,7 +29,7 @@ namespace zypp // /** Reference to a PoolItem conecting ResObject and ResStatus. * - * The "real" PoolItem is usg. somwhere in the ResPool. This is + * The "real" PoolItem is usg. somewhere in the ResPool. This is * a reference to it. All copies made will reference (and modify) * the same PoolItem. All changes via a PoolItem_Ref are immediately * visible in all copies (now COW). diff --git a/zypp/ResObject.h b/zypp/ResObject.h index dac9851..d45cf86 100644 --- a/zypp/ResObject.h +++ b/zypp/ResObject.h @@ -37,7 +37,7 @@ namespace zypp /** * Interface base for resolvable objects (common data). * That is, all data not needed for solving, but common - * across al Resolvable kinds. + * across all Resolvable kinds. */ class ResObject : public Resolvable { diff --git a/zypp/UpgradeStatistics.h b/zypp/UpgradeStatistics.h index 4c1a725..9985e4b 100644 --- a/zypp/UpgradeStatistics.h +++ b/zypp/UpgradeStatistics.h @@ -231,7 +231,7 @@ class UpgradeStatistics : public UpgradeOptions { } /** - * total number of packages that will be finaly deleted + * total number of packages that will be finally deleted * (does not count the replaced packages) **/ unsigned totalToDelete() const diff --git a/zypp/ZYpp.h b/zypp/ZYpp.h index 50cee70..49d329a 100644 --- a/zypp/ZYpp.h +++ b/zypp/ZYpp.h @@ -124,7 +124,7 @@ namespace zypp Resolver_Ptr resolver() const; KeyRing_Ptr keyRing() const; public: - /** Set the preferd locale for translated labels, descriptions, + /** Set the preferred locale for translated labels, descriptions, * etc. passed to the UI. */ void setTextLocale( const Locale & textLocale_r ); diff --git a/zypp/base/Exception.h b/zypp/base/Exception.h index 072d1ff..e9c3253 100644 --- a/zypp/base/Exception.h +++ b/zypp/base/Exception.h @@ -141,7 +141,7 @@ namespace zypp { _where = where_r; } /** Return the message string provided to the ctor. - * \note This is not neccessarily the complete error message. + * \note This is not necessarily the complete error message. * The whole error message is provided by \ref asString or * \ref dumpOn. */ diff --git a/zypp/base/Functional.h b/zypp/base/Functional.h index 9c8fc46..1c1a30d 100644 --- a/zypp/base/Functional.h +++ b/zypp/base/Functional.h @@ -22,7 +22,7 @@ namespace zypp /* http://www.boost.org/libs/functional/mem_fun.html The header functional.hpp includes improved versions of - the full range of member function adapters from the the + the full range of member function adapters from the C++ Standard Library. */ using boost::mem_fun; @@ -205,7 +205,7 @@ namespace zypp * \ref Cain functor. * * \code - * struct Print; // functor priniting elements + * struct Print; // functor printing elements * struct Count; // functor counting number of elements * * std::for_each( c.begin(), c.end(), diff --git a/zypp/base/Unit.h b/zypp/base/Unit.h index a59ba71..5fb7ac8 100644 --- a/zypp/base/Unit.h +++ b/zypp/base/Unit.h @@ -28,7 +28,7 @@ namespace zypp // /** Simple handling of Units. * - * Unit strores factor and symbol, and a precision value for printing. + * Unit stores factor and symbol, and a precision value for printing. * \ref form builds a string from a value according to the format * specification. * \code diff --git a/zypp/base/WatchFile.h b/zypp/base/WatchFile.h index 2597a4c..b731f6e 100644 --- a/zypp/base/WatchFile.h +++ b/zypp/base/WatchFile.h @@ -42,7 +42,7 @@ namespace zypp * WatchFile::NO_INIT ); * if ( sysconfigFile.hasChanged() ) * { - * // releoad the file... + * // reload the file... * } * \endcode */ -- 2.7.4