Skip to content

close this pr#1826

Closed
seagle-yuan wants to merge 9 commits intoapache:masterfrom
seagle-yuan:checkstyle
Closed

close this pr#1826
seagle-yuan wants to merge 9 commits intoapache:masterfrom
seagle-yuan:checkstyle

Conversation

@seagle-yuan
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 18, 2022

Codecov Report

Merging #1826 (57f6607) into master (9ec3c3c) will not change coverage.
The diff coverage is n/a.

❗ Current head 57f6607 differs from pull request most recent head 067ac0f. Consider uploading reports for the commit 067ac0f to get more accurate results

@@            Coverage Diff            @@
##             master    #1826   +/-   ##
=========================================
  Coverage     66.58%   66.58%           
+ Complexity      982      980    -2     
=========================================
  Files           446      446           
  Lines         37914    37914           
  Branches       5400     5400           
=========================================
  Hits          25246    25246           
  Misses         9963     9963           
  Partials       2705     2705           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74c0e2d...067ac0f. Read the comment docs.

Comment on lines +49 to +52
<!-- <module name="ClassTypeParameterName">-->
<!-- <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>-->
<!-- <message key="name.invalidPattern" value="Class type name ''{0}'' must match pattern ''{1}''."/>-->
<!-- </module>-->
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

could we consider use low limit check rather than disable all?

like Class<a> / Class<1> is not allowed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think we can implement and use the regular expression "[A-Z][a-zA-Z0-9]*$"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can implement and use the regular expression "[A-Z][a-zA-Z0-9]*$"

Fine

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I had updated checkstyle file.

@seagle-yuan seagle-yuan changed the title delete ClassTypeParameterName check improve ClassTypeParameterName check Apr 19, 2022
@seagle-yuan seagle-yuan requested a review from imbajin April 19, 2022 02:09
@coderzc coderzc reopened this Apr 22, 2022
@seagle-yuan seagle-yuan changed the title improve ClassTypeParameterName check close this pr Apr 22, 2022
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.

3 participants