You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Commented) (JIRA)" <ji...@apache.org> on 2011/10/21 01:54:11 UTC
[jira] [Commented] (LUCENE-3525) Avoid private nonnested classes
[ https://issues.apache.org/jira/browse/LUCENE-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132221#comment-13132221 ]
Robert Muir commented on LUCENE-3525:
-------------------------------------
How is this not a bug in Netbeans? :)
Seriously, this code compiles just fine, its legal java.
> Avoid private nonnested classes
> -------------------------------
>
> Key: LUCENE-3525
> URL: https://issues.apache.org/jira/browse/LUCENE-3525
> Project: Lucene - Java
> Issue Type: Bug
> Components: core/store
> Affects Versions: 3.0.3
> Reporter: Jesse Glick
> Priority: Minor
>
> https://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/src/java/org/apache/lucene/store/NativeFSLockFactory.java 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: https://netbeans.org/bugzilla/show_bug.cgi?id=204039
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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