logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53948] New: ThrowableInformationPatternConverter does not need to import ThrowableInformation
Date Sat, 29 Sep 2012 18:53:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53948

          Priority: P2
            Bug ID: 53948
          Assignee: log4j-dev@logging.apache.org
           Summary: ThrowableInformationPatternConverter does not need to
                    import ThrowableInformation
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: harsh@cloudera.com
          Hardware: All
            Status: NEW
           Version: 1.2
         Component: Other
           Product: Log4j

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message