Adding Method to Session Bean build 632

Hi

If I use the lightbulb to add a method to the local interface
that I have defined in the bean the generated code is missing the
semi-colon.

Regards
Nick Sanderson


0

Hello Nick,
I am unable to reproduce this.
Could you please provide test case ?

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


"Nick Sanderson" <nick@sanderson.fslife.co.uk> wrote in message
news:aft6d6$l1r$1@is.intellij.net...

Hi

>

If I use the lightbulb to add a method to the local interface
that I have defined in the bean the generated code is missing the
semi-colon.

>

Regards
Nick Sanderson

>
>


0

Hi Alexey

I haven't tested all variations. Create a new session bean with local and
localhome interfaces.
The problem occurs if you define a method in the bean but have not yet added
curly braces for the body.
The lightbulb appears and asks if the method is to be added to the
interface. If I click add at this point the interface definition has no
semi-colon.
If I put braces in for the function body the semi-colon is put in.

I appreciate this is not the most lethal of bugs :)

Nick


"Alexey Kudravtsev" <cdr@intellij.com> wrote in message
news:afumcc$pq2$1@is.intellij.net...

Hello Nick,
I am unable to reproduce this.
Could you please provide test case ?

>

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

>
>

"Nick Sanderson" <nick@sanderson.fslife.co.uk> wrote in message
news:aft6d6$l1r$1@is.intellij.net...

Hi

>

If I use the lightbulb to add a method to the local interface
that I have defined in the bean the generated code is missing the
semi-colon.

>

Regards
Nick Sanderson

>
>

>
>


0

Hello Nick,
will be fixed in #634
Thanks for the report

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


"Nick Sanderson" <nick@sanderson.fslife.co.uk> wrote in message
news:afvegb$qha$1@is.intellij.net...

Hi Alexey

>

I haven't tested all variations. Create a new session bean with local and
localhome interfaces.
The problem occurs if you define a method in the bean but have not yet

added

curly braces for the body.
The lightbulb appears and asks if the method is to be added to the
interface. If I click add at this point the interface definition has no
semi-colon.
If I put braces in for the function body the semi-colon is put in.

>

I appreciate this is not the most lethal of bugs :)

>

Nick

>
>

"Alexey Kudravtsev" <cdr@intellij.com> wrote in message
news:afumcc$pq2$1@is.intellij.net...

Hello Nick,
I am unable to reproduce this.
Could you please provide test case ?

>

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

>
>

"Nick Sanderson" <nick@sanderson.fslife.co.uk> wrote in message
news:aft6d6$l1r$1@is.intellij.net...

Hi

>

If I use the lightbulb to add a method to the local interface
that I have defined in the bean the generated code is missing the
semi-colon.

>

Regards
Nick Sanderson

>
>

>
>

>
>


0

请先登录再写评论。