lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <...@git.apache.org>
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:

    https://github.com/apache/lucenenet/pull/137

    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
SafeGet/SafeSet.

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

    $ git pull https://github.com/laimis/lucenenet safebitarray

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

    https://github.com/apache/lucenenet/pull/137.patch

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 <laimis@gmail.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message