Renamed LeftCurlyCheck to AbstractLeftCurlyCheck.

Completely happy with the name. :-)
This commit is contained in:
Oliver Burn 2002-11-25 01:04:48 +00:00
parent af958820c7
commit 823ef8630a
4 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ import com.puppycrawl.tools.checkstyle.api.Utils;
* @author <a href="mailto:checkstyle@puppycrawl.com">Oliver Burn</a>
* @version 1.0
*/
public abstract class LeftCurlyCheck
public abstract class AbstractLeftCurlyCheck
extends AbstractOptionCheck
{
/** TODO: replace this ugly hack **/
@ -25,7 +25,7 @@ public abstract class LeftCurlyCheck
/**
* Sets the left curly otion to eol.
*/
public LeftCurlyCheck()
public AbstractLeftCurlyCheck()
{
super(LeftCurlyOption.EOL);
}

View File

@ -29,7 +29,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes;
* @version 1.0
*/
public class MethodLeftCurlyCheck
extends LeftCurlyCheck
extends AbstractLeftCurlyCheck
{
/** @see com.puppycrawl.tools.checkstyle.api.Check */
public int[] getDefaultTokens()

View File

@ -31,7 +31,7 @@ import com.puppycrawl.tools.checkstyle.api.DetailAST;
* @version 1.0
*/
public class OtherLeftCurlyCheck
extends LeftCurlyCheck
extends AbstractLeftCurlyCheck
{
/** @see com.puppycrawl.tools.checkstyle.api.Check */
public int[] getDefaultTokens()

View File

@ -29,7 +29,7 @@ import com.puppycrawl.tools.checkstyle.api.TokenTypes;
* @version 1.0
*/
public class TypeLeftCurlyCheck
extends LeftCurlyCheck
extends AbstractLeftCurlyCheck
{
/** @see com.puppycrawl.tools.checkstyle.api.Check */
public int[] getDefaultTokens()