You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/02/06 12:35:13 UTC

[jira] [Commented] (OAK-610) Misleading exception message in MultiPropertyState

    [ https://issues.apache.org/jira/browse/OAK-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572352#comment-13572352 ] 

Michael Dürig commented on OAK-610:
-----------------------------------

Yes, the error message is wrong. Will fix it.
                
> Misleading exception message in MultiPropertyState
> --------------------------------------------------
>
>                 Key: OAK-610
>                 URL: https://issues.apache.org/jira/browse/OAK-610
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: angela
>            Priority: Minor
>
> just run into a multi-single-value violation and wanted to check
> the place where it occured.
> MultiPropertyState line 159 states
> {code}
> checkArgument(type.isArray(), "Type must not be an array type");
> {code}
> IMO the message should read "Type must be an array", shouldn't it? 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira