-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trim trailing whitespaces. #102
Trim trailing whitespaces. #102
Conversation
Trailing whitespaces are useless. Most of code-styles forbids them. Most of editors always trim them on save. I propose to clean up project from trailing whitespaces in all java files at once.
I agree with you that trailing whitespace is useless. Since I started contributing here, I also cleaned up some files, usually when touching them anyway, changing something more substantial, according to the boyscout rule to leave the camp ground behind a little cleaner than I found it. Sometimes I refrain from cleaning up whitespace, though, in order to have small commits and retain a more meaningful result of |
I agree that boyscout rule is a good way to reduce technical debt over time. I use IntellIJ IDEA feature |
I use IDEA, too. I am going to double-check what you just said, thanks for the hint. 🙂 Edit: I just checked, you are right. Thanks!
This looks promising, too. I am happy I asked and you replied. |
General hint: Because AspectJ is an Eclipse project, you need to sign the ECA (Eclipse Contributor Agreement) first, see also the ECA FAQ. I cannot merge PRs anyway, even if I wanted to (and I am not saying I do just yet). @aclement must do that for the time being, because I am still waiting for full committer status and the corresponding Eclipse and GitHub privileges. Would you mind introducing yourself and explaining your sudden interest in AspectJ and burst of PRs? |
I forget where we are on this but ideally we should have the formatting rules embedded in the project for the main IDEs to keep project consistency going forward. |
Looks like it's already configured in It was just not applied to existing sources. |
Trailing whitespaces are useless. Most of code-styles forbids them. Most of editors always trim them on save.
I propose to clean up project from trailing whitespaces in all java files at once.