Compile under 1.4 and you only have a comment. The oata.Iterable defines the same behaviour so external tools could use - reflection for 1.4 compiled code - direct access for 1.5 compiled code
Jan > -----Ursprüngliche Nachricht----- > Von: Peter Reilly [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 21. April 2005 12:31 > An: Ant Developers List > Betreff: Re: AW: PropertySet.iterator() > > [EMAIL PROTECTED] wrote: > > > I had a project where a code generator inserts one > interface statement > > - and that > > what missing. So I created just an empty interface to make the > > compiler happy. Couldnt > > we "backport" the Iterable interface? > > > > I played a little with these... > > - build.xml > > - src\oata\Iterable.java > > - src\oata\MyClass.java > > > > > Nice, but not useful in ant core (kernel) until we move to using > java 1.5+ as we would not be able to use java 1.5+ to create > an ant distribution that can be used for java 1.4 and previous. > > Peter > > > Jan > > > > > -----Ursprüngliche Nachricht----- > > > Von: Dominique Devienne [mailto:[EMAIL PROTECTED] > > > Gesendet am: Donnerstag, 21. April 2005 00:05 > > > An: Ant Developers List > > > Betreff: RE: PropertySet.iterator() > > > > > > > From: Matt Benson [mailto:[EMAIL PROTECTED] > > > > I will take your opinion as gospel, since you are the > > > > father of PropertySet, and since you agree with me ;) > > > > > > Note that I can't think of any use case for iterating > > > over the property names selected by a propertyset, but > > > I'm sure someone somewhere sometime will find one ;-) --DD > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > >------------------------------------------------------------- > ----------- > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >