Apply formatting and remove more trace statements #209
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR applies formatting (via Spotless) to the Java source code using the Eclipse JDT default formatting. Now that I see the magnitude of the changeset, I think I'm going to make some tweaks to the formatting rules to try to minimize the changes. Placing opening braces on a new line and not rewrapping lines which are already shorter than the line length limit would drastically cut down on the number of changes, I think, and it turns out I do care more than I thought I did about the wrapping of multiple arguments. I don't like the way it wraps only some of the arguments:
or worse, rewraps only a few of the arguments onto the first line, and leaves the rest hanging:
I did also try applying the Eclipse CDT formatter to the C source, and was pretty disappointed with the results. Again, mostly over unnecessary re-wrapping of lines.