[
https://issues.apache.org/jira/browse/LUCENE-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated LUCENE-1855:
----------------------------------
Attachment: AttributeSource.jad
For all developers that want to see, that the generics-enabled class
AttributeSource is binary compatible (so addAttribute still return Attribute in
the erasured class) to the 2.9 version, here is the de-compiled version of the
class file (using JAD). This is not really full featured java code, but shows,
how the erasured class looks like (and how javac generates the advanced FOR
statements) and the covariant overriding of iterator's next(). Really
interesting.
JAD is always good, to look, how a class with generic looks like for code
compiled agains 1.4.
> Change AttributeSource API to use generics
> ------------------------------------------
>
> Key: LUCENE-1855
> URL: https://issues.apache.org/jira/browse/LUCENE-1855
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Analysis
> Reporter: Michael Busch
> Assignee: Uwe Schindler
> Priority: Minor
> Fix For: 3.0
>
> Attachments: AttributeSource.jad, LUCENE-1855.patch, LUCENE-1855.patch
>
>
> The AttributeSource API will be easier to use with JDK 1.5 generics.
> Uwe, if you started working on a patch for this already feel free to assign
> this to you.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]