made Defn a class, following the advice of Bloch

This commit is contained in:
Lars Kühne 2003-01-03 10:49:41 +00:00
parent 5dfe0406c2
commit feda6ebbfb
2 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ import com.puppycrawl.tools.checkstyle.api.MessageDispatcher;
* @author lkuehne
*/
public class Checker extends AutomaticBean
implements Defn, MessageDispatcher
implements MessageDispatcher
{
/**
* An AuditListener that maintains the number of errors.

View File

@ -19,12 +19,12 @@
package com.puppycrawl.tools.checkstyle;
/**
* Contains definitions common to the package.
* Contains constant definitions common to the package.
* @author <a href="mailto:oliver@puppycrawl.com">Oliver Burn</a>
**/
public interface Defn
public final class Defn
{
// TODO: Change to a class - follow the advice of Bloch.
/** name of resource bundle for Checkstyle */
String CHECKSTYLE_BUNDLE = "com.puppycrawl.tools.checkstyle.messages";
public static final String CHECKSTYLE_BUNDLE =
"com.puppycrawl.tools.checkstyle.messages";
}