lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3078) Add generics to DocumentsWriterDeleteQueue.Node
Date Fri, 06 May 2011 14:27:03 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uwe Schindler updated LUCENE-3078:
----------------------------------

    Attachment: LUCENE-3078.patch

Eclipse compiler warns about one synthetic access$ method on Simon's original code, we should
also remove:

bq. Access to enclosing constructor DocumentsWriterDeleteQueue.Node<T>(T) is emulated
by a synthetic accessor method

Fixed in this patch.

Eclipse also complains generics wise (raw Node access in ReferenceUpdater declaration, but
this is just too picky and cannot be solved because of .class constructs).

> Add generics to DocumentsWriterDeleteQueue.Node
> -----------------------------------------------
>
>                 Key: LUCENE-3078
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3078
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Uwe Schindler
>         Attachments: LUCENE-3078.patch, LUCENE-3078.patch
>
>
> DocumentsWriterDeleteQueue.Note should be generic as the subclasses hold different types
of items. This generification is a little bit tricks, but the generics policeman can't wait
to fix this *g*.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message