Skip to content

Commit

Permalink
add miss rule UseQuietReferenceNotationRule
Browse files Browse the repository at this point in the history
  • Loading branch information
骏烈 committed Oct 19, 2017
1 parent 94d52ff commit 6b22d02
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}

0 comments on commit 6b22d02

Please sign in to comment.