made Defn a class, following the advice of Bloch
This commit is contained in:
parent
5dfe0406c2
commit
feda6ebbfb
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue