[java] introduce local variable: allow skip final modifier in effectively final context

GitOrigin-RevId: 1f370ec15dad0027f8625131c67795e15586edd5
This commit is contained in:
Anna Kozlova
2021-07-16 10:04:28 +02:00
committed by intellij-monorepo-bot
parent aa03afc7b6
commit 9755036efb
7 changed files with 11 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
public class TestClass {
void x() {
new Exception() {
private final int j = doSomething();
private int j = doSomething();
int doSomething() { return 1; }
void a() {