-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Issue #10086:Fix default AtclauseOrder and preserve order for documen… #17918
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
base: master
Are you sure you want to change the base?
Conversation
ddc0c14
to
346fba8
Compare
Github, generate website |
Xdoc files should be changed, to reflect actual order of tags. Generated website on this PR should have new order of tags |
Hi @romani , mvn clean verify, is regenerating the meta XML file ( |
Yes , whole reason of issue is to make html page to show actual value. |
Okay thanks, I am pushing the changes. |
346fba8
to
2a0b348
Compare
GitHub, generate website |
The build is success, updating it |
2a0b348
to
b99c00a
Compare
Github, generate website |
Hi @romani , my local build passed with mvn clean verify, but CI is failing can u guide me on this? |
b99c00a
to
5d12bbe
Compare
Please read and watch videos at Starting_Development. Last video is about how to make CI green. Checker, needs patches to be applied : https://github.com/checkstyle/checkstyle/actions/runs/18525806318/job/52796243069?pr=17918#step:7:11 |
Thanks for clarification , I understood How to fix this |
5d12bbe
to
34d998b
Compare
34d998b
to
d0d51c9
Compare
d0d51c9
to
3aac421
Compare
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.
please re-consider all your updates in import order.
</subpackage> | ||
|
||
<subpackage name="internal"> | ||
<allow class="com.puppycrawl.tools.checkstyle.internal.annotation.PreserveOrder"/> |
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.
is this required?
looks like we allow impot from same package
|
||
<subpackage name="internal"> | ||
<subpackage name="annotation"> | ||
<allow pkg="java.lang.annotation"/> |
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.
"java.lang.*" supposed to be completely allowed, as it is jdk classes and always available.
please recheck if this is allow actually required, if yes, lest allow all sub packages of java.lang.
* Default order of atclauses. | ||
*/ | ||
@PreserveOrder | ||
private static final String[] DEFAULT_ORDER = { |
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.
this might not be required as you put it on private List<String> tagOrder
Thank you for the review! Apologies, I'm still learning.. Fixing it now. |
#10086