Please use this formatter. It is the Eclipse default one with the only modification that it does not put long parameter lists in new lines.
https://www.dropbox.com/s/7dkxwep5ca5ds5k/EclipseFormatter.xml
There was an error while loading. Please reload this page.