[ 
https://issues.apache.org/jira/browse/LANG-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759351#comment-17759351
 ] 

Gary D. Gregory commented on LANG-1413:
---------------------------------------

It is the case, indirectly: 
{{org.apache.commons.lang3.exception.ExceptionUtils.getRootCause(Throwable)}} 
calls 
{{org.apache.commons.lang3.exception.ExceptionUtils.getThrowableList(Throwable)}}
 calls {{java.lang.Throwable.getCause()}}

Should the Javadoc go into this much detail or should we pare it down instead 
to describe semantics instead of implementation?

> Improve performance of ExceptionUtils.getRootCause
> --------------------------------------------------
>
>                 Key: LANG-1413
>                 URL: https://issues.apache.org/jira/browse/LANG-1413
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.exception.*
>            Reporter: Benedikt Ritter
>            Priority: Major
>             Fix For: 3.14.0
>
>
> The performance of ExceptionsUtils.getRootCause could be improved by not 
> using intermediate Lists for finding the root cause.
> This caused problemsĀ for the Gradle project and they migrated to guavas 
> Throwables for that reason (seeĀ 
> https://github.com/gradle/gradle/commit/095f6f5b7c54738709df6a2417f218af83e833fb)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to