axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIS2-5435) Axis2 BeanUtil doesn't appear to support is/has getter forms for fields.
Date Sat, 12 Mar 2016 22:54:33 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-5435.
------------------------------------
    Resolution: Invalid

{quote}
{noformat}
public Boolean isValue() { return value; }
public boolean isValue() { return value; }
{noformat}

Are considered the same signature by the compiler. 
{quote}

Yes, they have the same signature, simply because the return type is not part of the signature.
That has nothing to do with the fact that one returns boolean and the other returns Boolean.
Therefore, the argument is invalid.

> Axis2  BeanUtil doesn't appear to support is/has getter forms for fields.
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-5435
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5435
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>         Environment: Windows 7 64. Java 1.7
>            Reporter: Thomas Valine
>              Labels: adb, databinding
>
> Binding POJO's having boolean getter methods of the form isBool, hasBool doesn't appear
to work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message