You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/05/02 19:25:02 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #480: BREAKING: Changed Cardinality() methods into Cardinality properties

NightOwl888 opened a new pull request #480:
URL: https://github.com/apache/lucenenet/pull/480


   This changes `Cardinality()` across the API to `Cardinality` (a property rather than a method). Affected types:
   
   - `Lucene.Net.Search.RandomAccessOrds`
   - `Lucene.Net.Util.FixedBitSet`
   - `Lucene.Net.Util.Int64BitSet`
   - `Lucene.Net.Util.OpenBitSet`
   - `Lucene.Net.Util.PForDeltaDocIdSet`
   - `Lucene.Net.Util.WAH8DocIdSet`
   
   Extension methods were also added in the same namespace for backward compatibility. These extension methods are hidden from Intellisense and marked obsolete. They will be removed in the first 4.8.0 release candidate.
   
   This also factored out the `Lucene.Net.Support.BitArrayExtensions` class (which was internal and had no tests) and removes all usage of `System.Collections.BitArray` in Lucene.NET which have been replaced with `J2N.Collections.BitSet`. `FEATURE_BITARRAY_COPYTO` was also removed.


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

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



[GitHub] [lucenenet] NightOwl888 merged pull request #480: BREAKING: Changed Cardinality() methods into Cardinality properties

Posted by GitBox <gi...@apache.org>.
NightOwl888 merged pull request #480:
URL: https://github.com/apache/lucenenet/pull/480


   


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

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