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
remove deprecated property maxLineLength from LeftCurlyCheck #3671
Comments
It is deprecated, and won't do anything if given a value. checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/blocks/LeftCurlyCheck.java Lines 131 to 133 in 25a37e5
We are removing a lot of deprecated stuff in version 8, so most likely this item will be added to the list. |
@romani Please see discussion at #3855 (comment) for why we don't keep this property. |
please share your ideas on - #3855 (comment) |
PR referenced above was not complete and closed. New contributors are welcome to pick up this issue |
fix is merged. |
Move `SuppressionCommentFilter` to `TreeWalker` (checkstyle/checkstyle#4714). Remove `FileContentHolder` as it is no longer needed (checkstyle/checkstyle#3573). Remove `maxLineLength` of `LeftCurlyCheck` as it has been removed (checkstyle/checkstyle#3671). Closes #7
The option was deprecated because it did nothing and was removed in recent versions of Checkstyle. See: checkstyle/checkstyle#3671
Attribute has been removed and will cause an error with recent checkstyle releases, see checkstyle/checkstyle#3671
Attribute has been removed and will cause an error with recent checkstyle releases, see checkstyle/checkstyle#3671
checkstyle/checkstyle#3671 refs #3 Signed-off-by: Tony Deng <wolf.deng@gmail.com>
- Bump apache parent pom version to 30 - Remove maven-assembly-plugin-version and surefire.version as it is coming from parent pom - Bump following plugins/dependencies - os.plugin.version to 1.7.1 - google.findbugs.version to 3.0.2 - maven-pmd-plugin.version to 3.21.0 - maven-checkstyle-plugin.version to 3.3.0 - maven-jxr-plugin.version to 3.3.0 - maven-findbugs-maven-plugin.version to 3.0.5 - maven-owasp-plugin.version to 8.4.0 - maven-clover-plugin.version to 4.5.0 - maven-sonar-plugin.version to 3.10.0.2594 - Also updated omid_checks.xml based on updated checkstyle. Issues based on which changes were made: - checkstyle/checkstyle#2116 - checkstyle/checkstyle#3671 - checkstyle/checkstyle#7417 - checkstyle/checkstyle#7329
- Bump apache parent pom version to 30 - Remove maven-assembly-plugin-version and surefire.version as it is coming from parent pom - Bump following plugins/dependencies - os.plugin.version to 1.7.1 - google.findbugs.version to 3.0.2 - maven-pmd-plugin.version to 3.21.0 - maven-checkstyle-plugin.version to 3.3.0 - maven-jxr-plugin.version to 3.3.0 - maven-findbugs-maven-plugin.version to 3.0.5 - maven-owasp-plugin.version to 8.4.0 - maven-clover-plugin.version to 4.5.0 - maven-sonar-plugin.version to 3.10.0.2594 - Also updated omid_checks.xml based on updated checkstyle. Issues based on which changes were made: - checkstyle/checkstyle#2116 - checkstyle/checkstyle#3671 - checkstyle/checkstyle#7417 - checkstyle/checkstyle#7329
I notice that https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml#L55 specifies a maxLineLength property for LeftCurly, but http://checkstyle.sourceforge.net/config_blocks.html#LeftCurly says it's deprecated. If it's OK to remove, I can submit a pull request.
Thanks.
-DB
The text was updated successfully, but these errors were encountered: