Skip to content

Conversation

@timcharper
Copy link
Contributor

There's lot of inconsistent uses of tabs vs spaces throughout the project, and
this is leading to some weird diffs. I submit the project should just enforce
formatting during compile time and just remove any doubt. This way contributors
won't need to update their Eclipse configuration to match, as long as they run
mvn compile, it'll format correctly.

There's lot of inconsistent uses of tabs vs spaces throughout the project, and
this is leading to some weird diffs. I submit the project should just enforce
formatting during compile time and just remove any doubt. This way contributors
won't need to update their Eclipse configuration to match, as long as they run
mvn compile, it'll format correctly.
@timcharper timcharper force-pushed the tharper/use-google-code-formatter branch from aae4774 to adf7af0 Compare January 21, 2019 20:41
@timcharper
Copy link
Contributor Author

I've split this PR up in to two commits; 2008ca8 just adds the plugin, and then adf7af0 adds the result of running the formatter. It gives me a ton of credit, so you may wish to just merge the first commit and then run and commit the results yourself :)

Ignoring whitespace makes the 2nd patch easier to read.

adf7af0?utf8=%E2%9C%93&diff=split&w=1

@timcharper
Copy link
Contributor Author

@beowulfe any opinion on this?

@andylintner andylintner merged commit 1e9d187 into hap-java:master Feb 3, 2019
@andylintner
Copy link
Collaborator

Thanks for doing that @timcharper - much cleaner!

@timcharper timcharper deleted the tharper/use-google-code-formatter branch February 18, 2019 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants