From 6b22d0255f18e068362de61d65e886127e797a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=8F=E7=83=88?= Date: Thu, 19 Oct 2017 13:16:18 +0800 Subject: [PATCH] add miss rule UseQuietReferenceNotationRule --- .../kotlin/com/alibaba/smartfox/eclipse/SmartfoxActivator.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/kotlin/com/alibaba/smartfox/eclipse/SmartfoxActivator.kt b/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/kotlin/com/alibaba/smartfox/eclipse/SmartfoxActivator.kt index 046717e..1a50915 100644 --- a/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/kotlin/com/alibaba/smartfox/eclipse/SmartfoxActivator.kt +++ b/eclipse-plugin/com.alibaba.smartfox.eclipse.plugin/src/main/kotlin/com/alibaba/smartfox/eclipse/SmartfoxActivator.kt @@ -132,8 +132,7 @@ class SmartfoxActivator : AbstractUIPlugin() { fun createRuleSets(): RuleSets { val ruleSetFactory = RuleSetFactory() - val ruleSet = ruleSetFactory.createRuleSet("java-ali-pmd,vm-ali-other") - return RuleSets(ruleSet) + return ruleSetFactory.createRuleSets("java-ali-pmd,vm-ali-other") } } }