ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52829] New: implement Iterable interface in FileSet and others
Date Mon, 05 Mar 2012 08:06:43 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52829

             Bug #: 52829
           Summary: implement Iterable interface in FileSet and others
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: jarekczek@poczta.onet.pl
    Classification: Unclassified


While script task is able to use the following syntax:
for (f: fs)
it is not possible for custom tasks written in java. Since a switch to Java5
all classes implementing iterator() should be declared as "implements
Iterable". See the relevant java documentation:
http://docs.oracle.com/javase/specs/jls/se5.0/html/statements.html#14.14.2

The idea is on the mailing list:
http://mail-archives.apache.org/mod_mbox/ant-dev/201203.mbox/%3CCAE9L6G3-uLwA2EQV_mbdXtnZs_PYb_UMLB5iEX71N%2BqRb1C86g%40mail.gmail.com%3E
and was accepted by Matt Benson.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message