Skip to content
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

MethodsOrderCheck contradicts with DeclarationOrder #930

Open
denis-konovalyenko opened this issue Sep 25, 2018 · 2 comments
Open

MethodsOrderCheck contradicts with DeclarationOrder #930

denis-konovalyenko opened this issue Sep 25, 2018 · 2 comments

Comments

@denis-konovalyenko
Copy link

As far as I understand, the intention of the DeclarationOrder check is to follow the Code Conventions for the Java Programming Language, which state that

These methods should be grouped by functionality rather than by scope or accessibility. For example, a private class method can be in between two public instance methods. The goal is to make reading and understanding the code easier.

At the same time, we have the MethodsOrderCheck which violates this principle and forces to place methods by access level modifiers (please refer to this code for more information).

@0crat
Copy link
Collaborator

0crat commented Sep 25, 2018

@krzyk/z please, pay attention to this issue

@0crat
Copy link
Collaborator

0crat commented Sep 25, 2018

@denis-konovalyenko/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!

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

No branches or pull requests

2 participants