mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
extract method params suggester: cleanup initial params if they are not used anymore
This commit is contained in:
+3
-3
@@ -2,12 +2,12 @@ public class Test {
|
||||
{
|
||||
int x = 0;
|
||||
|
||||
newMethod(x, "foo".substring(x));
|
||||
newMethod("foo".substring(x));
|
||||
|
||||
newMethod(x, "bar".substring(x));
|
||||
newMethod("bar".substring(x));
|
||||
}
|
||||
|
||||
private void newMethod(int x, String substring) {
|
||||
private void newMethod(String substring) {
|
||||
System.out.println(substring);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user