[
https://issues.apache.org/jira/browse/JCR-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532385
]
angela commented on JCR-1159:
-----------------------------
> I guess it would affect more stuff in the repository service...
i quickly stepped through the interfaces i couldn't find an additional case
where it felt natural to me.
and the various Info interfaces already allow for null return values in those
cases.
do you know of something else?
angela
btw: i think get-whatever-Factory methods on the RepositoryService should throw
if they cannot return the required factory, since that would really reveal a
fundamental problem... but they can't at the moment.
> SPI: improve description of locking methods on RepositoryService
> ----------------------------------------------------------------
>
> Key: JCR-1159
> URL: https://issues.apache.org/jira/browse/JCR-1159
> Project: Jackrabbit
> Issue Type: Improvement
> Components: SPI
> Reporter: angela
> Priority: Minor
> Attachments: JCR-1159.patch
>
>
> in detail:
> 1) getLockInfo
> - intended behavior if no lock is present?
> - intended behavior if locking is not supported?
> 2) lock
> - currently InvalidItemStateException is listed. i don't think this make too
> much sense.
> 3) refreshLock
> - intended behavior if locking is not supported?
> 4) unlock
> - currently InvalidItemStateException is listed. i don't think this make too
> much sense.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.