lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3525) Avoid private nonnested classes
Date Tue, 08 Nov 2011 02:30:51 GMT


Yonik Seeley commented on LUCENE-3525:

This netbeans bug was just reported a few weeks ago - surely it's a transient bug and will
be fixed soon?

We shouldn't blindly change package private classes to static inner clases - first of all,
it sometimes makes no sense... why would NullUpdateLog be scoped within FSUpdateLong?  Second,
it changes the class names (i.e. breaks things Class.forName that are used by solr configuration).

> Avoid private nonnested classes
> -------------------------------
>                 Key: LUCENE-3525
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 3.0.3
>            Reporter: Jesse Glick
>            Priority: Minor
>         Attachments: LUCENE-3525.diff
shows a private top-level class {{NativeFSLock}}. This is a JDK 1.0-ism which should be considered
deprecated. Either use a nested class, or create a separate source file.
> Can produce problems for tools. Cause of:

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