Thomas Rebele created CALCITE-4947:
--------------------------------------

             Summary: 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


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)

Reply via email to