disable assign parameter to final field (IDEA-173815)

for constructors with chaining calls, for non-constructors
This commit is contained in:
Anna Kozlova
2017-06-06 14:54:06 +03:00
parent 781137ab58
commit 6487bb6913
2 changed files with 31 additions and 0 deletions
@@ -0,0 +1,13 @@
// "Assign Parameter to Field 'myStr'" "false"
class Foo1 {
final String myStr;
Foo1(String str, int i) {
myStr = (str);
}
Foo1(String st<caret>r) {
this(str, 2);
}
}