////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2002  Oliver Burn
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
////////////////////////////////////////////////////////////////////////////////
package com.puppycrawl.tools.checkstyle.checks;

import java.util.HashMap;
import java.util.Map;

/**
 * Represents the options for blocks.
 *
 * @author Rick Giles
 */
public final class BlockOption
    extends AbstractOption
{
    /** maps from a string representation to an option */
    private static final Map STR_TO_OPT = new HashMap();
    
    /** require that there is some text in the block **/
    public static final BlockOption TEXT = new BlockOption("text");
    /** require that there is a statement in the block **/
    public static final BlockOption STMT = new BlockOption("statement");
    
    /**
     * Creates a new <code>BlockOption</code> instance.
     *
     * @param aStrRep the string representation
     */
    private BlockOption(String aStrRep)
    {
        super(aStrRep);
    }
    
    /** @see com.puppycrawl.tools.checkstyle.checks.AbstractOption */
    protected Map getStrToOpt()
    {
        return STR_TO_OPT;
    }
}

@@ -1130,30 +1130,45 @@
 the 
-options for blocks.%0A *
+policy for checking block statements.
 %0A * 
@@ -1369,28 +1369,45 @@
 ();%0A
+%0A
     
+/**
 %0A    
-/** require
+ * Represents the policy
  tha
@@ -1431,34 +1431,169 @@
 ext in the block
+. For example:%0A     *%0A     * %3Cpre%3E%0A     * catch (Exception ex) %7B%0A     *     // This is a bad coding practice%0A     * %7D%0A     * %3C/pre%3E%0A    
  
-*
 */%0A    public st
@@ -1651,23 +1651,45 @@
 %22);%0A
+%0A
     /**
- require
+%0A     * Represents the policy
  tha
@@ -1723,18 +1723,130 @@
 he block
+. For%0A     * example:%0A     *%0A     * %3Cpre%3E%0A     * finally %7B%0A     *     lock.release();%0A     * %7D%0A     * %3C/pre%3E%0A    
  
-*
 */%0A    p
@@ -1913,20 +1913,16 @@
 ment%22);%0A
-    
 %0A    /**
@@ -2117,20 +2117,16 @@
 ;%0A    %7D%0A
-    
 %0A    /**

Fix the Javadoc