diff --git a/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml b/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml index edbc1e54e..e25eb51ce 100644 --- a/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml +++ b/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/resources/rulesets/java/ali-ruleOnEclipse.xml @@ -37,6 +37,6 @@ rule.standalone.MapOrSetKeyShouldOverrideHashCodeEqualsRule.desc - 1 + 2 diff --git a/eclipse-plugin/pom.xml b/eclipse-plugin/pom.xml index d0bd2cc36..130f5002f 100644 --- a/eclipse-plugin/pom.xml +++ b/eclipse-plugin/pom.xml @@ -40,18 +40,24 @@ - + @@ -189,150 +195,4 @@ - - - - macosx-jvm-flags - - - mac - - - - - -XstartOnFirstThread - - - - - - eclipse-juno - - - !eclipse-release - - - - - juno - p2 - http://mirrors.ustc.edu.cn/eclipse/releases/juno/ - - - swtbot - p2 - http://mirrors.ustc.edu.cn/eclipse/technology/swtbot/releases/2.5.0/ - - - - - - eclipse-kepler - - - eclipse-release - kepler - - - - - kepler - p2 - http://download.eclipse.org/releases/kepler/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - - eclipse-luna - - - eclipse-release - luna - - - - - luna - p2 - http://download.eclipse.org/releases/luna/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - - eclipse-mars - - - eclipse-release - mars - - - - - mars - p2 - http://download.eclipse.org/releases/mars/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - - eclipse-neon - - - eclipse-release - neon - - - - - neon - p2 - http://download.eclipse.org/releases/neon/ - - - swtbot - p2 - http://download.eclipse.org/technology/swtbot/releases/2.3.0/ - - - - - 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