preserve comments: invert if with comment after then branch

This commit is contained in:
Anna.Kozlova
2018-10-10 18:18:09 +02:00
parent b4ea426c90
commit 4831eed1ce
3 changed files with 21 additions and 2 deletions
@@ -0,0 +1,10 @@
// "Invert 'if' condition" "true"
public class C {
public boolean isAcceptable(Object element) {
if (element == null) {
return false;//c1
}
System.out.println();
return false;
}
}