Files
Tagir Valeev 1361a10017 [java-intentions] Remove unused assignment/initializer: preview-friendly
GitOrigin-RevId: de9da180223f231638eb51804b7ed9c26c36d772
2022-07-29 17:55:14 +00:00

16 lines
217 B
Java

// "Remove redundant initializer" "true-preview"
class A {
private String myFoo;
{
abc();
}
protected String abc() {
return "";
}
public A(String myFoo) {
this.myFoo = myFoo;
}
}