You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2010/10/06 13:56:31 UTC

[jira] Commented: (JCR-2763) Drop the Dumpable interface

    [ https://issues.apache.org/jira/browse/JCR-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918482#action_12918482 ] 

Stefan Guggisberg commented on JCR-2763:
----------------------------------------

what about SessionImpl.dump()? it used to dump the internal session state, e.g. transient items etc.
it proofed to be quite useful while debugging, at least for me.

btw: i fail to see any benefit in removing this interface.  what was your motivation?

> Drop the Dumpable interface
> ---------------------------
>
>                 Key: JCR-2763
>                 URL: https://issues.apache.org/jira/browse/JCR-2763
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-spi2jcr
>            Reporter: Jukka Zitting
>            Priority: Trivial
>
> I belive the o.a.j.core.util.Dumpable interface was originally used for diagnostic purposes, but AFAIUI we don't use it anywhere anymore. I'd like to drop the interface and refactor the dump() methods in various Jackrabbit classes to more detailed toString() methods that would be more useful to debuggers and other general-purpose diagnostic tools.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.