No whitespace before

Apache 2.0

Removes unnecessary whitespace preceding a token. A linebreak before a token will be removed unless allowLineBreaks is set to true.

org.openrewrite.java.format.NoWhitespaceBefore
mod run . --recipe=org.openrewrite.java.format.NoWhitespaceBefore

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.