You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Thomas Rebele (Jira)" <ji...@apache.org> on 2021/12/21 09:03:00 UTC

[jira] [Assigned] (CALCITE-4947) Checkstyle fails on classes generated by Intellij when using option "build and run [tests] using Intellij IDEA"

     [ https://issues.apache.org/jira/browse/CALCITE-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Rebele reassigned CALCITE-4947:
--------------------------------------

    Assignee: Thomas Rebele

> Checkstyle fails on classes generated by Intellij when using option "build and run [tests] using Intellij IDEA"
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4947
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4947
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Thomas Rebele
>            Assignee: Thomas Rebele
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Running a test repeatedly in Intellij can be sped up when setting the options "Build and run using Intellij IDEA" and "Run tests using Intellij IDEA". However, that makes :core:checkstyleTest fail with errors, such as the following:
> {code}[ant:checkstyle] [ERROR] ~/calcite-intellij/core/build/generated/sources/version/generated/org/apache/calcite/rel/rules/ImmutableFilterDateRangeRuleConfig.java:26: Line is longer than 100 characters (found 107). [LineLength]
> [ant:checkstyle] [ERROR] ~/calcite-intellij/core/build/javacc/javaCCTest/generated_tests/org/apache/calcite/tools/ImmutableMyProjectFilterRuleConfig.java:341:12: Redundant 'final' modifier. [RedundantModifier]
> {code}
> It would be nice to exclude them from being checked/verified in any way.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)