forked from phoedos/pmd
Update documentation
TRAVIS_JOB_NUMBER=2790.1 TRAVIS_COMMIT_RANGE=b9501e5c7791...d0efb3cad751
This commit is contained in:
@ -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):**
|
||||
|
Reference in New Issue
Block a user