ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r1462911 - in /ant/core/trunk/src: main/org/apache/tools/ant/taskdefs/Jar.java main/org/apache/tools/ant/taskdefs/Zip.java tests/junit/org/apache/tools/ant/taskdefs/ZipExtraFieldTest.java
Date Sun, 31 Mar 2013 18:23:59 GMT
On 2013-03-31, Jesse Glick wrote:

> On 03/31/2013 06:22 AM, bodewig@apache.org wrote:

>>+    public static final class Zip64ModeAttribute extends EnumeratedAttribute {

> BTW for new code you can simply use an enum.

I must admit I haven't checked whether IntrospectionHelper supports
enums, does it do so already?  If so, great.

If I want a different string representation like "as-needed" then I
still end up writing a mapping class and an enum wouldn't give me much
over EnumeratedAttribute.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message