#638 CMR field setter should have parameter of type 'interfaces.LocalStatus'

I have a CMP bean (local interface - interfaces.LocalUserMaster) with a CMR fields (status,
type - interfaces.LocalStatus). The problem: in interfaces.LocalUserMaster I have one
error: "CMR field setter should have parameter of type 'interfaces.LocalStatus'"
but it does have this type! If I do Ctrl-Click (Ctrl-B) on
LocalStatus I go to the class as expected. Everything compiles, deploys and works just fine.


Timur Zambalayev


=========================================
package interfaces;

import javax.ejb.EJBLocalObject;

public interface LocalUserMaster extends EJBLocalObject {

LocalStatus getStatus();

void setStatus(LocalStatus status); // LocalStatus is red

}
=========================================



1 comment
Comment actions Permalink

Hello,
This bug is fixed in #639,
Thank you for report

--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Timur Zambalayev" <invalid@invalid.com> wrote in message
news:ahv4kf$l7n$1@is.intellij.net...

I have a CMP bean (local interface - interfaces.LocalUserMaster) with a

CMR fields (status,

type - interfaces.LocalStatus). The problem: in interfaces.LocalUserMaster

I have one

error: "CMR field setter should have parameter of type

'interfaces.LocalStatus'"

but it does have this type! If I do

Ctrl-Click (Ctrl-B) on

LocalStatus I go to the class as expected. Everything compiles, deploys

and works just fine.
>
>

Timur Zambalayev

>
>

=========================================
package interfaces;

>

import javax.ejb.EJBLocalObject;

>

public interface LocalUserMaster extends EJBLocalObject {

>

LocalStatus getStatus();

>

void setStatus(LocalStatus status); // LocalStatus is red

>

}
=========================================

>
>
>


0

Please sign in to leave a comment.