Issue 121946

Summary: [UCB] css::ucb::XWebDAVCommandEnvironment - use enums to identify WebDAV/HTTP methods
Product: App Dev Reporter: Ariel Constenla-Haile <arielch>
Component: apiAssignee: Ariel Constenla-Haile <arielch>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: issues
Version: 3.4.1   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Ariel Constenla-Haile 2013-03-24 02:01:56 UTC
css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders() uses a string to identify the WebDAV/HTTP method.

It would be better to use a constant instead of a string.
Comment 1 SVN Robot 2013-03-24 13:23:39 UTC
"arielch" committed SVN revision 1460363 into trunk:
i121946 - Use enums to identify WebDAV/HTTP methods
Comment 2 Ariel Constenla-Haile 2013-03-24 13:32:10 UTC
Fixed on trunk
Comment 3 Ariel Constenla-Haile 2013-03-26 00:23:42 UTC
Adapting the title, I had to use enums, DELETE is a macro in winnt.h :

#define DELETE (0x00010000L)

I could have worked around this in the source file using ifdefs and undef, but it would have been a breaker if anyone ever uses the constant in the future.