lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-3357) Add Generics to ResourceLoader.newInstance
Date Fri, 13 Apr 2012 11:37:17 GMT


Chris Male updated SOLR-3357:

    Attachment: SOLR-3357.patch

Patch which adds generics to ResourceLoader.newInstance.

As part of this effort, I've had to clean up a lot of missing generics, removing Object return
types instead of actual typed returns.

DIH wraps ResourceLoader.newInstance into its own newInstance like method which I've left
untouched (using Object.class).  It can be improved in a separate issue.
> Add Generics to ResourceLoader.newInstance
> ------------------------------------------
>                 Key: SOLR-3357
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Chris Male
>         Attachments: SOLR-3357.patch
> Came out of LUCENE-2510.
> We can add generics to ResourceLoader.newInstance so it returns T instead of Object.
 This will add improved type safety and remove the need for casting the result to a specific

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message