I recently started to use Android Studio. It uses this style of braces by default:
public void scanFile(String filePath) { }
The code I need
This one worked for me in Android Studio 3.0 Beta 7