From 8215bc045eecc303ad56dff0815311d4015cb640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=8F=E7=83=88?= Date: Tue, 12 Dec 2017 15:51:54 +0800 Subject: [PATCH] fix https://github.com/alibaba/p3c/issues/191 --- .../p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java | 1 - p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java b/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java index 4bf59eeef..186458aee 100644 --- a/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java +++ b/p3c-pmd/src/main/java/com/alibaba/p3c/pmd/lang/java/util/namelist/NameListServiceImpl.java @@ -21,7 +21,6 @@ import java.util.Map; import java.util.Properties; - import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; diff --git a/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml b/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml index 921e484f6..0f8b98849 100644 --- a/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml +++ b/p3c-pmd/src/main/resources/rulesets/java/ali-concurrent.xml @@ -76,7 +76,7 @@ Positive example 3: java.concurrent.AvoidManuallyCreateThreadRule.rule.desc