[jira] [Commented] (DELTASPIKE-1193) Repository methods should consider Boolean and boolean the same

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (DELTASPIKE-1193) Repository methods should consider Boolean and boolean the same

JIRA jira@apache.org

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

Thomas Andraschko commented on DELTASPIKE-1193:
-----------------------------------------------

i would say thats the default "beans" mechanism. "Boolean" get only be get via "get....", "boolean" via "is...".
I would close it.

> Repository methods should consider Boolean and boolean the same
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-1193
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1193
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Data-Module
>            Reporter: John D. Ament
>            Assignee: John D. Ament
>            Priority: Major
>
> https://github.com/apache/deltaspike/blob/master/deltaspike/modules/data/impl/src/main/java/org/apache/deltaspike/data/impl/property/MethodPropertyImpl.java#L79
> In this case, we're treating boolean as valid for is methods, the same is not applied to Boolean types.  This means your entities can't have Boolean methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)