mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
disable assign parameter to final field (IDEA-173815)
for constructors with chaining calls, for non-constructors
This commit is contained in:
+13
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user