commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jtay...@4lane.com>
Subject Re: cvs commit: jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/util Messages.java
Date Wed, 23 Oct 2002 13:26:52 GMT
> [snip]
> 
> >   Index: Messages.java
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/util/Messages.java,v
> >   retrieving revision 1.3
> >   retrieving revision 1.4
> >   diff -u -r1.3 -r1.4
> >   --- Messages.java	23 Oct 2002 11:59:42 -0000	1.3
> >   +++ Messages.java	23 Oct 2002 13:09:10 -0000	1.4
> >   @@ -70,7 +70,7 @@
> >    public class Messages
> >    {
> >        /** Map from message code to MessageFormat object for the message. */
> >   -    private static final Map messages = new HashMap();
> >   +    private static Map messages = new HashMap();
> >        private static ResourceBundle resources;
> >    
> >        private Messages()
> 
> checkstyle was complaining about that?

I believe this is the default pattern for static finals (constants):

    checkstyle.pattern.const=^[A-Z](_?[A-Z0-9]+)*$

So check style would want "private static final Map MESSAGES = ..."


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message