diff --git a/docs/config_whitespace.html b/docs/config_whitespace.html index 4234f3b1d..3a1f9c7d8 100644 --- a/docs/config_whitespace.html +++ b/docs/config_whitespace.html @@ -22,6 +22,9 @@ -

NoWhitespaceAfter

+ + +

EmptyForIteratorPad

Description

+ +

+ Checks the padding of an empty for iterator; that is whether white + space is required at an empty for iterator, or such white space is + forbidden. +

+

Properties

+ + + + + + + + + + + + + +
namedescriptiontypedefault value
optionpolicy on how to pad an empty for iteratorpad policynospace
+ +

Examples

+

+ To configure the check: +

+
+<module name="EmptyForIteratorPad"/>
+      
+

+ To configure the check to require white space at an empty for iterator: +

+
+<module name="EmptyForIteratorPad">
+    <property name="option" value="space"/>
+</module>
+      
+

Package

+

+ com.puppycrawl.tools.checkstyle.checks +

+ +

Parent Module

+

+ TreeWalker +

+ +

NoWhitespaceAfter

Description

@@ -392,7 +445,7 @@ option policy on how to pad parentheses - pad parentheses policy + pad policy nospace diff --git a/docs/property_types.html b/docs/property_types.html index e2e9e54d5..0b6e813e7 100644 --- a/docs/property_types.html +++ b/docs/property_types.html @@ -62,12 +62,12 @@ parsed using the excellent Jakarta Regexp library.

-

Pad Parenthesis Policy

+

Pad Policy

-

This property represents the policy for padding parentheses. The +

This property represents the policy for padding with white space. The following table describes the valid options:

- +
Option Definition