« Return to Thread: [jira] Created: (JCR-1555) Add support for boolean values to QValue

[jira] Commented: (JCR-1555) Add support for boolean values to QValue

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

angela commented on JCR-1555:
-----------------------------

regarding the patch:
isn't Boolean#parseBoolean(String)  a new method added with 1.5? if this is true, i think we should avoid it since as far as i know we never dropped the support for 1.4.

general:
i know that we discussed that at least once in the past and for reasons i don't remember thought
the method would not be needed... but apparently the question arises on a regular basis (included me asking julian). if adding the method solves that, i am in favor of the extension.

julian/marcel, do you remember what exactly we decided in the past and why?

> Add support for boolean values to QValue
> ----------------------------------------
>
>                 Key: JCR-1555
>                 URL: https://issues.apache.org/jira/browse/JCR-1555
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-spi, jackrabbit-spi-commons
>            Reporter: Michael Dürig
>            Priority: Minor
>         Attachments: JCR-1555.patch
>
>
> I suggest to add support for reading and writing boolean values to QValue and QValueFactory. I find it strange that there is such support for the other data types but booleans must be constructed via strings.

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

 « Return to Thread: [jira] Created: (JCR-1555) Add support for boolean values to QValue

LightInTheBox - Buy quality products at wholesale price!