You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2018/04/23 15:05:00 UTC

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

    [ 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)