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

AbbreviationAsWordInName check middle row and the last row are inconsistent #8863

Closed
ellien-lucky-monkey opened this issue Sep 30, 2020 · 5 comments

Comments

@ellien-lucky-monkey
Copy link

"fristXML" and "fristXMLt" use the getAbbreviation method to return "XML" and "XM" respectively

@ellien-lucky-monkey
Copy link
Author

respectively

The middle line checks the length of consecutive uppercase characters minus one

@strkkk
Copy link
Member

strkkk commented Sep 30, 2020

@ellien-lucky-monkey please provide issue details in defined template. It is not clear what problem your problem is.

@ellien-lucky-monkey
Copy link
Author

ellien-lucky-monkey commented Sep 30, 2020

@strkkk

<module name="AbbreviationAsWordInName">
            <property name="ignoreFinal" value="false"/>
            <property name="allowedAbbreviationLength" value="1"/>
            <property name="allowedAbbreviations" value="XML"/>
 </module>

public class FristXMLtp { //violation

}


public class FristXML { //OK

}

@romani
Copy link
Member

romani commented Oct 4, 2020

@ellien-lucky-monkey , please strictly follow https://github.com/checkstyle/checkstyle/blob/master/.github/ISSUE_TEMPLATE/bug_report.md
to provide us all details that we need to reproduce a problem easily and let somebody fix it.

issue will be closed if not updated till end of October

@nrmancuso
Copy link
Member

Closing in favor of #12409

@nrmancuso nrmancuso closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 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

No branches or pull requests

4 participants