From ee52569e22d3821ab4b3d505fffff9024e953896 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 5 Sep 2016 17:47:49 +0100 Subject: [PATCH] RedundantImport: remove redundant check --- README.md | 14 +++++++------- src/main/resources/net/kemitix/checkstyle.xml | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index abd3e70..4f6ae77 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ You need to include `checkstyle` as the version bundled with the `maven-checksty * [ParameterNumber](#parameternumber) - checkstyle - enabled * [ParenPad](#parenpad) - checkstyle - enabled * [PublicReferenceToPrivateType](#publicreferencetoprivatetype) - sevntu - enabled -* [RedundantImport](#redundantimport) - checkstyle - enabled +* [RedundantImport](#redundantimport) - checkstyle - disabled * [RedundantModifier](#redundantmodifier) - checkstyle - enabled * [RedundantReturn](#redundantreturn) - sevntu - enabled * [Regexp](#regexp) - checkstyle - disabled @@ -1747,12 +1747,6 @@ doSomethingElse( 5); doSomethingElse(5 ); ```` -#### [RedundantImport](http://checkstyle.sourceforge.net/config_imports.html#RedundantImport) - -Checks for redundant `import`s. Checks for duplicates, imports from the `java.lang` package or from the current package. - -> TODO: remove - [UnusedImports](#unusedimports) performs all the same checks and more - #### [RedundantModifier](http://checkstyle.sourceforge.net/config_modifier.html#RedundantModifier) Checks for redundant modifiers. Checks for: @@ -2709,6 +2703,12 @@ Already covered by the [OneTopLevelClass](#onetoplevelclass) check. > TODO: enable +#### [RedundantImport](http://checkstyle.sourceforge.net/config_imports.html#RedundantImport) + +[UnusedImports](#unusedimports) performs all the same checks and more. + +Checks for redundant `import`s. Checks for duplicates, imports from the `java.lang` package or from the current package. + #### [Regexp](http://checkstyle.sourceforge.net/config_regexp.html#Regexp) Generic rule; doesn't embody a 'quality' check. diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 37cd8c6..8a49ad6 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -174,7 +174,6 @@ -