lucene-dev mailing list archives

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


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message