Is there an option in android studio to leave one-line method when reformatting code ? For example, for a simple getter, i prefer this style of coding:
public int getPosition() {return mPosition;}
But, when i reformat the code, this method is changed like this:
public int getPosition() {
return mPosition;
}