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

Diff for /pegasus/src/Pegasus/Common/CIMObjectPath.cpp between version 1.58.4.4 and 1.62.2.1

version 1.58.4.4, 2008/02/19 22:09:39 version 1.62.2.1, 2007/09/11 16:32:42
Line 647 
Line 647 
  
         String valueString;         String valueString;
         p = equalsign + 1;         p = equalsign + 1;
         CIMKeyBinding::Type type;          CIMKeyBinding::Type type = CIMKeyBinding::BOOLEAN;
  
         if (*p == '"')         if (*p == '"')
         {         {
Line 690 
Line 690 
              */              */
             type = CIMKeyBinding::STRING;             type = CIMKeyBinding::STRING;
  
             /* Performance shortcut will check for  
                equal sign instead of doing the full  
                CIMObjectPath creation and exception handling  
             */  
             keyValueUTF8.append('\0');  
             if (strchr((const char*)keyValueUTF8.getData(), '='))  
             {  
                 // found an equal sign, high probability for a reference  
                 try                 try
                 {                 {
                     CIMObjectPath testForPath(valueString);                     CIMObjectPath testForPath(valueString);
Line 712 
Line 704 
                     // Not a reference value; leave type as STRING                     // Not a reference value; leave type as STRING
                 }                 }
             }             }
         }  
         else if (toupper(*p) == 'T' || toupper(*p) == 'F')         else if (toupper(*p) == 'T' || toupper(*p) == 'F')
         {         {
             type = CIMKeyBinding::BOOLEAN;             type = CIMKeyBinding::BOOLEAN;


Legend:
Removed from v.1.58.4.4  
changed lines
  Added in v.1.62.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2