Annoying intention behavior

Step 1.Code looks something like:
void f(String a, String b){
g(b);
}
void g(String b){
//something
}


Step 2: Edit to:
void f(String a, String b){
g(a, b);
}
void g(String b){
//something
}


Step 3: After accepting intention to "Change signature":
void f(String a, String b){
g(a,b);
}
void g(String b, String s){
//something
}
..so it doesn't speed up code writting :( ... and for a more complicated
fucnction parameter list it can introduce verry hard to find bugs.

..cannot keep somehow the logic(name, position,...) of the function g
parameter and it's call to avoid this?



2 comments

Hello, Dudu,

This definitely needs to be fixed, please submit a bug to JIRA.

Eugene.

0

Thx Eugene,
Created:
http://www.jetbrains.net/jira/browse/IDEA-6309

"Eugene Vigdorchik" <no_mail@jetbrains.com> wrote in message
news:24929878.1136461343875.JavaMail.itn@is.intellij.net...

Hello, Dudu,

>

This definitely needs to be fixed, please submit a bug to JIRA.

>

Eugene.



0

Please sign in to leave a comment.