Update documentation

TRAVIS_JOB_NUMBER=2790.1
TRAVIS_COMMIT_RANGE=b9501e5c7791...d0efb3cad751
This commit is contained in:
Travis CI (pmd-bot)
2018-09-01 20:11:10 +00:00
parent d0efb3cad7
commit ff5e83b21d

View File

@ -250,7 +250,6 @@ public class Foo {
|Name|Default Value|Description|Multivalued|
|----|-------------|-----------|-----------|
|checkAddressTypes|IPv4 \| IPv6 \| IPv4 mapped IPv6|Check for IP address types.|yes. Delimiter is '\|'.|
|pattern|^"[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"$|Regular Expression|no|
**Use this rule by referencing it:**
``` xml
@ -874,6 +873,10 @@ can lead to quite messy code. This rule looks for several declarations on the sa
//LocalVariableDeclaration
[count(VariableDeclarator) > 1]
[$strictMode or count(distinct-values(VariableDeclarator/@BeginLine)) != count(VariableDeclarator)]
|
//FieldDeclaration
[count(VariableDeclarator) > 1]
[$strictMode or count(distinct-values(VariableDeclarator/@BeginLine)) != count(VariableDeclarator)]
```
**Example(s):**