remove dead code

This commit is contained in:
Oliver Burn 2002-11-10 05:53:14 +00:00
parent 747e4847a8
commit debcf7e6af
3 changed files with 0 additions and 14 deletions

View File

@ -269,12 +269,6 @@ public class Configuration
return getBooleanProperty(Defn.REQUIRE_PACKAGE_HTML_PROP);
}
/** @return whether to check unused @throws **/
boolean isCheckUnusedThrows()
{
return getBooleanProperty(Defn.JAVADOC_CHECK_UNUSED_THROWS_PROP);
}
/** @return whether to ignore checks for whitespace **/
boolean isIgnoreWhitespace()
{

View File

@ -33,9 +33,6 @@ public interface Defn
String TODO_PATTERN_PROP = "checkstyle.pattern.todo";
/** property name for allowing protected data **/
String TAB_WIDTH_PROP = "checkstyle.tab.width";
/** property name for checking for Runtime @throws in Javadoc **/
String JAVADOC_CHECK_UNUSED_THROWS_PROP =
"checkstyle.javadoc.checkUnusedThrows";
/** property name for requiring package documentation */
String REQUIRE_PACKAGE_HTML_PROP = "checkstyle.require.packagehtml";
/** property name for ignoring whitespace **/
@ -58,7 +55,6 @@ public interface Defn
{
IGNORE_CAST_WHITESPACE_PROP,
IGNORE_WHITESPACE_PROP,
JAVADOC_CHECK_UNUSED_THROWS_PROP,
REQUIRE_PACKAGE_HTML_PROP,
};

View File

@ -11,8 +11,6 @@ import java.io.PrintStream;
import java.util.Locale;
import java.util.Properties;
import com.puppycrawl.tools.checkstyle.api.Scope;
import junit.framework.TestCase;
public class CheckerTest
@ -167,7 +165,6 @@ public class CheckerTest
throws Exception
{
mProps.setProperty(Defn.REQUIRE_PACKAGE_HTML_PROP, "true");
mProps.setProperty(Defn.JAVADOC_CHECKSCOPE_PROP, Scope.PRIVATE.getName());
final Checker c = createChecker();
final String packageHtmlPath = getPath("package.html");
final String filepath = getPath("InputScopeAnonInner.java");
@ -181,7 +178,6 @@ public class CheckerTest
public void testAssertIdentifier()
throws Exception
{
mProps.setProperty(Defn.JAVADOC_CHECKSCOPE_PROP, Scope.NOTHING.getName());
final Checker c = createChecker();
final String filepath = getPath("InputAssertIdentifier.java");
assertNotNull(c);