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

Support for all Token Types as a Property Type for Module Metadata #8802

Closed
wants to merge 2 commits into from

Conversation

gaurabdg
Copy link
Contributor

@gaurabdg gaurabdg commented Sep 7, 2020

@gaurabdg gaurabdg closed this Sep 7, 2020
@gaurabdg gaurabdg deleted the alltoken-meta branch September 7, 2020 16:26
Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

items:

Comment on lines +679 to +681
<td>all tokens
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html">
allTokenTypes</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html">all tokens</a>

allTokenTypes we can keep only in metadata and javadoc.

@@ -16,6 +16,9 @@
about language structures.
&lt;/p&gt;</description>
<properties>
<property default-value="" name="tokens" type="allTokenTypes">
<description>All checkstyle token types.</description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a description of property, not a description of type.

please use tokens to check

}
final String typeName = typeNode.getTextContent().trim();
final String typeName =
getCorrectNodeBasedOnPropertyType(property).getTextContent().trim();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please try to move refactoring to separate commit of the same PR

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

Successfully merging this pull request may close these issues.

None yet

2 participants