jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2763) Drop the Dumpable interface
Date Wed, 06 Oct 2010 11:56:31 GMT

    [ 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.

View raw message