From acb49a1e58e18af103ded45aae959e3f2f2b5ebc Mon Sep 17 00:00:00 2001 From: Oliver Burn Date: Fri, 31 May 2002 13:55:52 +0000 Subject: [PATCH] Removed unused code - will add a proper implementation is required. --- .../com/puppycrawl/tools/checkstyle/CatchBlockOption.java | 6 ------ .../com/puppycrawl/tools/checkstyle/LeftCurlyOption.java | 8 +------- .../com/puppycrawl/tools/checkstyle/PadOption.java | 6 ------ .../com/puppycrawl/tools/checkstyle/RightCurlyOption.java | 8 +------- 4 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/CatchBlockOption.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/CatchBlockOption.java index 42c654fad..e6170826d 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/CatchBlockOption.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/CatchBlockOption.java @@ -54,12 +54,6 @@ public final class CatchBlockOption implements Serializable STR_TO_OPT.put(mStrRep, this); } - /** @see Object **/ - public String toString() - { - return mStrRep; - } - /** * Returns the CatchBlockOption specified by a string representation. If no * option exists then null is returned. diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/LeftCurlyOption.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/LeftCurlyOption.java index ed4d61f19..b034b0ad7 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/LeftCurlyOption.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/LeftCurlyOption.java @@ -27,7 +27,7 @@ import java.util.HashMap; * Represents the options for placing the left curly brace '{'. * * @author Oliver Burn - * @version $Id: LeftCurlyOption.java,v 1.4 2002-03-05 20:53:04 lkuehne Exp $ + * @version $Id: LeftCurlyOption.java,v 1.5 2002-05-31 13:55:52 oburn Exp $ */ public final class LeftCurlyOption implements Serializable { @@ -59,12 +59,6 @@ public final class LeftCurlyOption implements Serializable STR_TO_OPT.put(mStrRep, this); } - /** @see Object **/ - public String toString() - { - return mStrRep; - } - /** * Returns the LeftCurlyOption specified by a string representation. If no * option exists then null is returned. diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/PadOption.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/PadOption.java index fe345165d..253c10324 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/PadOption.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/PadOption.java @@ -53,12 +53,6 @@ public final class PadOption STR_TO_OPT.put(mStrRep, this); } - /** @see Object **/ - public String toString() - { - return mStrRep; - } - /** * Returns the option specified by a string representation. If no * option exists then null is returned. diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/RightCurlyOption.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/RightCurlyOption.java index 6f53a9305..e8029f301 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/RightCurlyOption.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/RightCurlyOption.java @@ -27,7 +27,7 @@ import java.util.HashMap; * Represents the options for placing the right curly brace '}'. * * @author Oliver Burn - * @version $Id: RightCurlyOption.java,v 1.2 2002-03-05 20:53:04 lkuehne Exp $ + * @version $Id: RightCurlyOption.java,v 1.3 2002-05-31 13:55:52 oburn Exp $ */ public final class RightCurlyOption implements Serializable { @@ -55,12 +55,6 @@ public final class RightCurlyOption implements Serializable STR_TO_OPT.put(mStrRep, this); } - /** @see Object **/ - public String toString() - { - return mStrRep; - } - /** * Returns the RightCurlyOption specified by a string representation. If no * option exists then null is returned.