(file) Return to AssocClassTable.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/AssocClassTable.cpp between version 1.23 and 1.24

version 1.23, 2006/08/09 21:13:03 version 1.24, 2006/11/14 18:34:57
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Mike Brasher (mbrasher@bmc.com)  
 //  
 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company  
 //                  (carolann_graves@hp.com)  
 //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)  
 //              David Dillard, VERITAS Software Corp.  
 //                  (david.dillard@veritas.com)  
 //              Robert Kieninger, IBM (kieningr@de.ibm.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
Line 67 
Line 58 
     return pattern.size() == 0 || String::equalNoCase(x, pattern);     return pattern.size() == 0 || String::equalNoCase(x, pattern);
 } }
  
 static inline Boolean _ContainsClass(const Array<CIMName>& classNames, const String& match )  static inline Boolean _ContainsClass(
       const Array<CIMName>& classNames,
       const String& match)
 { {
     Uint32 n = classNames.size();     Uint32 n = classNames.size();
  
Line 402 
Line 395 
     return found;     return found;
 } }
  
 Boolean AssocClassTable::_InitializeCache( AssocClassCache *cache,  Boolean AssocClassTable::_InitializeCache(
       AssocClassCache* cache,
                                            const String& path)                                            const String& path)
 { {
     WriteLock lock(_classCacheLock);     WriteLock lock(_classCacheLock);
Line 485 
Line 479 
                 continue;                 continue;
             }             }
  
             // This class qualifies; add it to the list (skipping duplicates)                      // This class qualifies; add it to the list (skipping
                     if (!Contains(referenceNames, records[rx][ASSOC_CLASS_NAME_INDEX]))                      // duplicates)
                       if (!Contains(referenceNames,
                               records[rx][ASSOC_CLASS_NAME_INDEX]))
             {             {
                         referenceNames.append(records[rx][ASSOC_CLASS_NAME_INDEX]);                          referenceNames.append(
                               records[rx][ASSOC_CLASS_NAME_INDEX]);
             }             }
             found = true;             found = true;
         }         }


Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2