ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Vernum <>
Subject RE: [AUDIT] jakarta-ant/proposal/myrmidon
Date Wed, 06 Feb 2002 07:57:24 GMT

From: Adam Murdoch []

> As far as I can tell, according to the sections
> of the JLS that they cite, it's the audit tool that's got the 
> modifiers in
> the wrong order, not our code.

The javadoc for java.lang.reflect.Field#toString() says:

The modifiers are placed in canonical order as specified by
"The Java Language Specification". This is public, protected
or private first, and then other modifiers in the following
order: static, final, transient, volatile

The audit tool is complaining

about the following line:
    public static final FileType FOLDER = new FileType( REZ.getString( "" ) );


It claims the code breaks rule 5.21 of the "Metamata Audit rules", but 
as far as I can see it matches the JLS correctly.

I agree with Adam, the tool is wrong.

This e-mail and any attachments are confidential and may contain copyright material of Macquarie
Bank or third parties. If you are not the intended recipient of this email you should not
read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and
should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any
emails or any attached files. The views or opinions expressed are the author's own and may
not reflect the views or opinions of Macquarie Bank. 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message