Community
Participate
Working Groups
Build Identifier: 20110204-0611 It would be pretty handy if CodanCorePlugin had the static method "log(String, Throwable)" (like other plugins do.) This method basically does this: log(new Status(IStatus.ERROR, CodanCorePlugin.PLUGIN_ID, 1, message, e)); I'm attaching a patch that also cleans up 'log(Throwable)' by delegating to this new method. Reproducible: Always Steps to Reproduce: N/A (API request)
Created attachment 190011 [details] Proposed patch Proposed solution.
Fixed in HEAD > 20110204.
*** cdt cvs genie on behalf of sprigogin *** Bug 338492 - 'log(String, Throwable)' method. Patch by Alex Ruiz. [*] CodanCorePlugin.java 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/CodanCorePlugin.java?root=Tools_Project&r1=1.6&r2=1.7