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

   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
   
   This one focuses on WithinPrefixTreeFilter. The fix was to add a protected 
constructor that does not call virtual methods, and the subclasses can use it 
to initialize and then call any methods they need inside their constructors.


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