-
Notifications
You must be signed in to change notification settings - Fork 114
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
EmptyLineSeparatorCheck conflicts with EmptyLinesCheck #953
Comments
@victornoel/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
@victornoel is this for 0.18.2? |
@krzyk actually it is for both 0.18.2 and 0.17.6 |
@0crat in |
@0crat assign me |
Bug was reported, see §29: +15 point(s) just awarded to @victornoel/z |
@victornoel The issue is because there is a anonymous class inside anonymous class (which is not the best style, I think this should be prohibited in qulice) so for a fast workaround, convert one of those anonymous classes into an inner class |
@0crat help |
@krzyk Can't understand "help", try one of these:
|
@victornoel this should be fixed in |
@krzyk excellent, thanks! |
Job was finished in 46 hours, bonus for fast delivery is possible (see §36) |
The job #953 is now out of scope |
For example in Takes, in the following code at the following line: https://github.com/yegor256/takes/blob/3e53d1278d8a882343b877c5d7d2c04966491478/src/test/java/org/takes/http/BkBasicTest.java#L143
If don't separate the two methods with an empty line, you get:
[INFO] Checkstyle: src/test/java/org/takes/http/BkBasicTest.java[143]: 'METHOD_DEF' should be separated from previous statement. (EmptyLineSeparatorCheck)
If you add a line you get:
[INFO] Checkstyle: src/test/java/org/takes/http/BkBasicTest.java[143]: Empty line inside method (EmptyLinesCheck)
The text was updated successfully, but these errors were encountered: