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

ImportOrder: checkstyle_checks.xml does not have separate "java" group #3577

Closed
romani opened this Issue Nov 24, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@romani
Member

romani commented Nov 24, 2016

There are two problems:
1)
http://checkstyle.sourceforge.net/eclipse.html#Organize_Imports
http://checkstyle.sourceforge.net/idea.html#Organize_Imports
http://checkstyle.sourceforge.net/netbeans.html#Organize_Imports

Eclipse have group "com" that non of others have.
Should be removed.

https://github.com/checkstyle/checkstyle/blob/master/config/checkstyle_checks.xml#L257

    <module name="ImportOrder">
        <property name="groups" value="/^javax?\./,org"/>

there should be separate group "java".

linelect added a commit to linelect/checkstyle that referenced this issue Nov 24, 2016

linelect added a commit to linelect/checkstyle that referenced this issue Nov 24, 2016

romani added a commit that referenced this issue Nov 25, 2016

@romani romani added this to the 7.3 milestone Nov 25, 2016

@romani

This comment has been minimized.

Show comment
Hide comment
@romani

romani Nov 25, 2016

Member

fix is merged.

Member

romani commented Nov 25, 2016

fix is merged.

@romani romani closed this Nov 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment