#636 CMP problem

In my entity bean I have the following CMP field:

public abstract String getAddress();
public abstract void setAddress(String address);

But I also have this method

private void setAddress(CustomerVO customerVO) {
....
}

declared in my bean.

If this method is declared below get/set methods in the source code,
everything is ok. But if I put this private method above them, IDEA
complains that getter "String getAddress()" method must return CustomerVO
object.
Strange, isn't it?

/kesh




1 comment
Comment actions Permalink

Hello kesh,
This is fixed in #637,
Thank you for report
--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"kesh" <kesha@cosite.com> wrote in message
news:ah4q8s$k3p$1@is.intellij.net...

In my entity bean I have the following CMP field:

>

public abstract String getAddress();
public abstract void setAddress(String address);

>

But I also have this method

>

private void setAddress(CustomerVO customerVO) {
...
}

>

declared in my bean.

>

If this method is declared below get/set methods in the source code,
everything is ok. But if I put this private method above them, IDEA
complains that getter "String getAddress()" method must return CustomerVO
object.
Strange, isn't it?

>

/kesh

>
>
>
>


0

Please sign in to leave a comment.