Skip to content

Commit 7cc488e

Browse files
marschallromani
authored andcommitted
Issue #105: add ParameterNumber max default value
1 parent ce1edd3 commit 7cc488e

File tree

1 file changed

+3
-1
lines changed
  • checkstyle-sonar-plugin/src/main/resources/org/sonar/plugins/checkstyle

1 file changed

+3
-1
lines changed

checkstyle-sonar-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,9 @@
12951295
<name><![CDATA[Parameter Number]]></name>
12961296
<configKey><![CDATA[Checker/TreeWalker/ParameterNumber]]></configKey>
12971297
<cardinality>MULTIPLE</cardinality>
1298-
<param key="max" type="INTEGER"/>
1298+
<param key="max" type="INTEGER">
1299+
<defaultValue>7</defaultValue>
1300+
</param>
12991301
<param key="tokens" type="s[METHOD_DEF,CTOR_DEF]">
13001302
<defaultValue>METHOD_DEF,CTOR_DEF</defaultValue>
13011303
</param>

0 commit comments

Comments
 (0)