incompatible types quickfix: reregister for variable initializer (IDEA-138023)

This commit is contained in:
Anna Kozlova
2015-03-23 17:57:15 +01:00
parent d1467d1f6c
commit 4d079801bf
3 changed files with 17 additions and 5 deletions
@@ -0,0 +1,8 @@
// "Change field 'foo' type to 'java.lang.String[]'" "true"
class Base {
private String[] foo;
public void bar(String... args) {
foo = args;
}
}
@@ -0,0 +1,8 @@
// "Change field 'foo' type to 'java.lang.String[]'" "true"
class Base {
private String foo;
public void bar(String... args) {
foo<caret> = args;
}
}