You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/12/23 17:35:00 UTC
[jira] [Commented] (NIFI-11005) Add Illegal and Redundant Import Modules to Checkstyle Configuration
[ https://issues.apache.org/jira/browse/NIFI-11005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651699#comment-17651699 ]
ASF subversion and git services commented on NIFI-11005:
--------------------------------------------------------
Commit b55632274927aa2c4920947763b9621ba25dfab7 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b556322749 ]
NIFI-11005 Added Illegal and Redundant Import Modules to Checkstyle
- Updated impacted classes to remove redundant import lines
- Removed WebUtilsGroovyTest.groovy class due to use of internal sun.security classes
Signed-off-by: Pierre Villard <pi...@gmail.com>
This closes #6804.
> Add Illegal and Redundant Import Modules to Checkstyle Configuration
> --------------------------------------------------------------------
>
> Key: NIFI-11005
> URL: https://issues.apache.org/jira/browse/NIFI-11005
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Checkstyle configuration supports a number of modules for validating code, including [several modules for imports|https://checkstyle.org/config_imports.html]. The {{IllegalImport}} and {{RedundantImport}} modules should be added to the standard Checkstyle configuration to avoid unnecessary lines, and also block imports from the private {{sun}} namespace.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)