NightOwl888 opened a new issue, #666:
URL: https://github.com/apache/lucenenet/issues/666

   [Anonymous 
classes](https://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.html)
 in Java are declared inline so they have private accessibility and are not 
inheritable.
   
   We also had different ideas about how to name them while porting the 
project, so they are named somewhat inconsistently. I believe they will all 
contain the letters `Anon` in the class name, but the original Lucene source 
code should be checked to ensure it is actually an anonymous class instead of 
something that was made specifically for Lucene.NET before making a change 
(Lucene.NET specific classes should all have a `LUCENENET specific` comment 
outside of the `Support` namespace).
   
   1. [ ] Change the accessibility of all anonymous classes to `private sealed`.
   2. [ ] Normalize the names of all anonymous classes to end in the suffix 
`AnonymousClass`. The actual class name doesn't matter so much as there is no 
class name in Java, but it would be preferable to derive a name from the 
context if it is clear what it is for.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to