abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
490 stars 118 forks source link

Unify brackets for opening blocks with comments #542

Closed moving-bits closed 1 year ago

moving-bits commented 1 year ago

Normally BRouter source formats opening blocks with having the curly bracket in the same line. Somehow the reformat done between v1.6.3 and v1.7.0 did not work for opening lines having a line comment - for those blocks the opening curly bracket remained on a separate line.

This PR fixes / unifies this by moving the opening curly brackets into the blocks' opening lines.