From 16d65a982079fabdf46633b800cfecff92069193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=8F=E7=83=88?= Date: Wed, 27 Dec 2017 16:34:38 +0800 Subject: [PATCH] fix https://github.com/alibaba/p3c/issues/208 --- .../p3c/idea/inspection/AliLocalInspectionToolProvider.kt | 1 - .../p3c-common/src/main/resources/rulesets/java/ali-pmd.xml | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/idea-plugin/p3c-common/src/main/kotlin/com/alibaba/p3c/idea/inspection/AliLocalInspectionToolProvider.kt b/idea-plugin/p3c-common/src/main/kotlin/com/alibaba/p3c/idea/inspection/AliLocalInspectionToolProvider.kt index 51549ec50..77642fabf 100644 --- a/idea-plugin/p3c-common/src/main/kotlin/com/alibaba/p3c/idea/inspection/AliLocalInspectionToolProvider.kt +++ b/idea-plugin/p3c-common/src/main/kotlin/com/alibaba/p3c/idea/inspection/AliLocalInspectionToolProvider.kt @@ -74,7 +74,6 @@ class AliLocalInspectionToolProvider : InspectionToolProvider { AliAccessStaticViaInstanceInspection::class.java, AliDeprecationInspection::class.java, MapOrSetKeyShouldOverrideHashCodeEqualsInspection::class.java, - AliAccessToNonThreadSafeStaticFieldFromInstanceInspection::class.java, AliArrayNamingShouldHaveBracketInspection::class.java, AliControlFlowStatementWithoutBracesInspection::class.java, AliEqualsAvoidNullInspection::class.java, diff --git a/idea-plugin/p3c-common/src/main/resources/rulesets/java/ali-pmd.xml b/idea-plugin/p3c-common/src/main/resources/rulesets/java/ali-pmd.xml index 23f86dbba..43b31b070 100644 --- a/idea-plugin/p3c-common/src/main/resources/rulesets/java/ali-pmd.xml +++ b/idea-plugin/p3c-common/src/main/resources/rulesets/java/ali-pmd.xml @@ -4,9 +4,7 @@ xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> - - - +