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

Diff for /pegasus/src/Pegasus/ProviderManager2/SimpleResponseHandler.cpp between version 1.6.4.1 and 1.9

version 1.6.4.1, 2006/01/18 17:38:03 version 1.9, 2006/07/21 18:44:08
Line 1 
Line 1 
 //%2005////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
Line 8 
Line 8 
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 // EMC Corporation; VERITAS Software Corporation; The Open Group. // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 97 
Line 99 
  
         ContentLanguageList langs;         ContentLanguageList langs;
  
     try  
         {  
                 // Try to get the ContentLanguageList out of the                 // Try to get the ContentLanguageList out of the
                 // OperationContext in the base ResponseHandler.                 // OperationContext in the base ResponseHandler.
                 OperationContext context = getContext();                 OperationContext context = getContext();
  
         ContentLanguageListContainer cntr = context.get(      if(context.contains(ContentLanguageListContainer::NAME))
             ContentLanguageListContainer::NAME);  
   
         langs = cntr.getLanguages();  
         }  
         catch (const Exception &)  
         {         {
                 // The content language container must not exist.          ContentLanguageListContainer cntr =
                 // Return the empty ContentLanguageList.              context.get(ContentLanguageListContainer::NAME);
           langs = cntr.getLanguages();
         }         }
  
         return(langs);      return langs;
 } }
  
 void SimpleResponseHandler::send(Boolean isComplete) void SimpleResponseHandler::send(Boolean isComplete)


Legend:
Removed from v.1.6.4.1  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2