-
Notifications
You must be signed in to change notification settings - Fork 150
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
Enabled checkstyle rules for imports #25083
Conversation
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
I see changes other than imports 😢 |
- note: where Eclipse could not resolve imports, the result is just partional Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
I am yet going through the diff manually (and not using GitHub -- too many files changed). I will also yet update the description - in short, sometimes I had to move/delete comments inside imports - usually commented out code, sometimes wrong merges so javadoc ended between imports, probably at the time of RCS/CVS. I had to fix them manually. One class with completely commented out body was deleted together with I18N found by fulltext search. I will add that to the description. |
I asked for the review all committers who recently contributed something. Also @OndroMih is significant contributor, so I am asking you too ;-) It is not so important to see every file in the PR, rather read those rules and say why you don't like them - if you don't like them. My experience may be different, your editors can have different settings or you see something as an issue which could cause that we would have to change the configuration again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use the same rules ;)
I don't care about the rules as long as they are the same for everybody. Checkstyle ensures that. I'll adjust my IDE if needed to comply. All looks OK to me. When I filtered all the lines with imports and comments from the diff, there are only a few things to review and they all look OK to me. I used the following grep command to filter it (in Linux): cat 25083.diff | grep -v '^diff|^index|^---|^+++|^@@|^ |^[+-]import|^[+-]$|^[+-](//| *|/*| ?*/)|^[+-]#' | less The output is:
|
Ok, inspired by @OndroMih , I create my own monster :D |
Reason
Required additional changes
DeploymentEventListenerImpl
was unused, so I deleted it including related I18N properties.com.sun.ejte.ccl.reporter.Reporter
appserver/tests/embedded/web/web-api/pom.xml
failed to pass the check because Eclipse IDE could not resolve dependencies. I added them to thepom.xml
file.Controversies
The Configuration