remove obsolete methods
authorMichael Andres <ma@suse.de>
Wed, 18 Jul 2007 16:13:41 +0000 (16:13 +0000)
committerMichael Andres <ma@suse.de>
Wed, 18 Jul 2007 16:13:41 +0000 (16:13 +0000)
zypp/repo/RepositoryImpl.h
zypp/repo/cached/RepoImpl.cc
zypp/repo/cached/RepoImpl.h
zypp/repo/memory/RepoImpl.cc
zypp/repo/memory/RepoImpl.h

index 83ae2ef..f4ca0f8 100644 (file)
@@ -75,8 +75,8 @@ namespace zypp
       ResStore _store;
       std::list<packagedelta::PatchRpm> _patchRpms;
       std::list<packagedelta::DeltaRpm> _deltaRpms;
-      bool _restore_lazy_initialized;
     private:
+      bool _restore_lazy_initialized;
       RepoInfo _info;
     };
   }
index 2d440fc..7fd258f 100644 (file)
@@ -78,11 +78,6 @@ static int global_progress_handler(void* ptr)
   return 1;
 }
 
-void RepoImpl::factoryInit()
-{
-  MIL << "Plaindir repository initialized." << std::endl;
-}
-
 void read_capabilities( sqlite3_connection &con,
                         map<data::RecordId, NVRAD> &nvras,
                         ProgressData &progress );
index d4e0eb6..42697c1 100644 (file)
@@ -45,15 +45,15 @@ namespace zypp
           , dbdir(dbdir_)
           , repository_id(repository_id_)
         {}
-        
-        
+
+
         ProgressData::ReceiverFnc readingResolvablesProgress;
         ProgressData::ReceiverFnc readingPatchDeltasProgress;
         RepoInfo repoinfo;
         Pathname dbdir;
         data::RecordId repository_id;
       };
-      
+
       /**
        * \short Cached repository implementation
        *
@@ -70,18 +70,18 @@ namespace zypp
         RepoImpl( const RepoOptions &opts );
         /** Dtor */
         ~RepoImpl();
-        void factoryInit();
+
       public:
         virtual void createResolvables();
         virtual void createPatchAndDeltas();
-        
+
         cache::ResolvableQuery resolvableQuery();
       private:
         void read_capabilities( sqlite3x::sqlite3_connection &con,
                                 data::RecordId repo_id,
                                 std::map<data::RecordId,
                                 std::pair<Resolvable::Kind, NVRAD> > &nvras );
-        cache::CacheTypes _type_cache; 
+        cache::CacheTypes _type_cache;
         cache::ResolvableQuery _rquery;
         RepoOptions _options;
         ProgressData _ticks;
index c94431a..9041e0f 100644 (file)
@@ -49,18 +49,10 @@ namespace memory
 RepoImpl::RepoImpl( const RepoInfo &repoinfo )
   : RepositoryImpl(repoinfo)
 {
-
 }
 
 RepoImpl::~RepoImpl()
 {
-
-}
-
-
-void RepoImpl::factoryInit()
-{
-  MIL << "in-memory repository initialized." << std::endl;
 }
 
 void RepoImpl::createResolvables()
index 9f9a76c..8b4c170 100644 (file)
@@ -45,9 +45,9 @@ namespace zypp
         RepoImpl( const RepoInfo &repoinfo);
         /** Dtor */
         ~RepoImpl();
-        void factoryInit();
+
       public:
-        
+
         void createResolvables();
         void createPatchAndDeltas();
       protected: