I would prefer to have an empty line prior to the last return statement of any Java method. How do I find and replace such lines using Eclipse?
public int foo() {
...
...
System.out.println("end of foo");
return 1;
}
In this case , I would prefer an empty line before the return statement, do note that there could be any statement before return. How do I find and replace in such occurences.