lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <>
Subject [GitHub] lucenenet pull request: Use SafeGet and SafeSet for BitArray to ma...
Date Sun, 03 May 2015 17:25:55 GMT
GitHub user laimis opened a pull request:

    Use SafeGet and SafeSet for BitArray to match Lucene behavior

    Lucene.Net port uses BitArray as a replacement for BitSet that Lucene uses. However BitArray
behaves differently from BitSet when the bit index is greater than the length of the bit set
in Get and Set methods. Adjust all the places where Get/Set is used and use extension methods

You can merge this pull request into a Git repository by running:

    $ git pull safebitarray

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #137
commit ab7e9321fc8f5fd020020e4c4ba7051deaf3667f
Author: Laimonas Simutis <>
Date:   2015-05-03T17:17:54Z

    use SafeGet and SafeSet for bitarray to match Lucene behavior


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message