Rearranger problem

Hi!

public interface IModule
{
String getRole();

void setRole(String s);
}

after rearrange

// -


GETTER / SETTER METHODS -



public String getRole()
{
return role;
}

...
// -


Interface IModule -



public void setRole(String role)
{
this.role = role;
log = Logger.getLogger(role);
}

A bit confusing I think. Rearranger in standard configuration.

___
/** WBR @author Denis Tsyplakov @ICQ_UIN 108477017
@mailto: lc@yandex.ru */



2 comments
Comment actions Permalink

Hi Denis,

I agree, getRole and setRole should be together. The question is, should they both appear under getter/setter methods, or under Interface IModule?

Do you have a preference? Or should I add a checkbox to control this? I suppose that unless there is a clear reason to put them under one category, I'd better give the choice to the user.

-Dave

0
Comment actions Permalink

My preference would be to put them both under getter/setter methods since
IDEA will inform you when one implements an interface. But, an option would
be nice too.

"Dave Kriewall" <davek@wrq.com> wrote in message
news:22541638.1085422652285.JavaMail.itn@is.intellij.net...

Hi Denis,

>

I agree, getRole and setRole should be together. The question is, should

they both appear under getter/setter methods, or under Interface IModule?
>

Do you have a preference? Or should I add a checkbox to control this? I

suppose that unless there is a clear reason to put them under one category,
I'd better give the choice to the user.
>

-Dave



0

Please sign in to leave a comment.