[
https://issues.apache.org/jira/browse/JCR-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582194#action_12582194
]
Marcel Reutegger commented on JCR-1500:
---------------------------------------
I agree, there should only be one way of doing this.
> removing properties through SPI: two ways to do it
> --------------------------------------------------
>
> Key: JCR-1500
> URL: https://issues.apache.org/jira/browse/JCR-1500
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-spi
> Reporter: Julian Reschke
> Priority: Minor
>
> Batch currently provides two ways to delete a property, similarly to JCR:
> - Batch.remove()
> - Batch.setValue(..., null)
> JCR2SPI currently uses (AFAIK) Batch.remove().
> Proposal:
> - clarify that the QValue argument in setValue must be non-null (same for
> setValues)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.