laimis opened a new pull request, #800:
URL: https://github.com/apache/lucenenet/pull/800

   Continuation of fixes with virtual calls being made from constructors. The 
issue originally reported by SonarCloud scans: 
https://sonarcloud.io/project/issues?resolved=false&rules=csharpsquid%3AS1699&id=apache_lucenenet
 and referenced in this issue: https://github.com/apache/lucenenet/issues/670
   
   In this case, AbstractAnalysisFactory calls "Get" from the constructor. Get 
is virtual, but it does not feel like the intent here is to make that method 
extendable. It's a WIDELY extended class inside Lucene via TokenFilterFactory 
and all the classes that inherit from it, and none of them override Get 
implementations. 


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

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

Reply via email to