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

Michael Dürig commented on OAK-2711:
------------------------------------

Could we factor the dumping to string into a method taking a limit argument and 
having {{toString}} call it with {{5}}? This way the other method can still be 
used from within the debugger. 

> Troublesome AbstractTree.toString
> ---------------------------------
>
>                 Key: OAK-2711
>                 URL: https://issues.apache.org/jira/browse/OAK-2711
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: angela
>              Labels: technical_debt
>             Fix For: 1.3.0
>
>         Attachments: OAK-2711.patch
>
>
> the default {{toString}} for all tree implementations calculates a string 
> containing the path, the toString of all properties as well as the names of 
> all child tree... this is prone to cause troubles in case for trees that have 
> plenty of properties and children.
> i would strongly recommend to review this and make the toString of trees both 
> meaningful and cheap.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to