Bug 53948

Summary: ThrowableInformationPatternConverter does not need to import ThrowableInformation
Product: Log4j - Now in Jira Reporter: Harsh J <harsh>
Component: OtherAssignee: log4j-dev <log4j-dev>
Status: NEW ---    
Severity: enhancement CC: harsh
Priority: P5    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch that refactors the method to not require an extra import

Description Harsh J 2012-09-29 18:53:23 UTC
Trivial/Non-problem/Code-nit thing:

Since LoggingEvent.getThrowableStrRep(); exists, we do not need to use and store the LoggingEvent.getThrowableInformation() returned object for the String[] representation of the throwable information.

A patch is attached that refactors this, leading to one less import.
Comment 1 Harsh J 2012-09-29 18:54:01 UTC
Created attachment 29429 [details]
Patch that refactors the method to not require an extra import