This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit c296087c4ee276a9e7059d666a8d8742c82546a9
Author: Shad Storhaug <[email protected]>
AuthorDate: Wed Nov 17 06:10:34 2021 +0700

    Lucene.Net.Util: Added TODOs about fixing the APIs of OpenBitSet and 
FixedBitSet to use index and length rather than startIndex and endIndex.
---
 src/Lucene.Net/Util/FixedBitSet.cs | 2 +-
 src/Lucene.Net/Util/OpenBitSet.cs  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Lucene.Net/Util/FixedBitSet.cs 
b/src/Lucene.Net/Util/FixedBitSet.cs
index bbad7e9..96f7344 100644
--- a/src/Lucene.Net/Util/FixedBitSet.cs
+++ b/src/Lucene.Net/Util/FixedBitSet.cs
@@ -659,7 +659,7 @@ namespace Lucene.Net.Util
         /// </summary>
         /// <param name="startIndex"> Lower index </param>
         /// <param name="endIndex"> One-past the last bit to clear </param>
-        public void Clear(int startIndex, int endIndex)
+        public void Clear(int startIndex, int endIndex) // LUCENENET TODO: 
API: Change this to use startIndex and length to match .NET
         {
             if (Debugging.AssertsEnabled)
             {
diff --git a/src/Lucene.Net/Util/OpenBitSet.cs 
b/src/Lucene.Net/Util/OpenBitSet.cs
index bcc712e..884633b 100644
--- a/src/Lucene.Net/Util/OpenBitSet.cs
+++ b/src/Lucene.Net/Util/OpenBitSet.cs
@@ -312,7 +312,7 @@ namespace Lucene.Net.Util
         /// </summary>
         /// <param name="startIndex"> Lower index </param>
         /// <param name="endIndex"> One-past the last bit to set </param>
-        public virtual void Set(long startIndex, long endIndex)
+        public virtual void Set(long startIndex, long endIndex) // LUCENENET 
TODO: API: Change this to use startIndex and length to match .NET
         {
             if (endIndex <= startIndex)
             {
@@ -401,7 +401,7 @@ namespace Lucene.Net.Util
         /// </summary>
         /// <param name="startIndex"> Lower index </param>
         /// <param name="endIndex"> One-past the last bit to clear </param>
-        public virtual void Clear(int startIndex, int endIndex)
+        public virtual void Clear(int startIndex, int endIndex) // LUCENENET 
TODO: API: Change this to use startIndex and length to match .NET
         {
             if (endIndex <= startIndex)
             {
@@ -448,7 +448,7 @@ namespace Lucene.Net.Util
         /// </summary>
         /// <param name="startIndex"> Lower index </param>
         /// <param name="endIndex"> One-past the last bit to clear </param>
-        public virtual void Clear(long startIndex, long endIndex)
+        public virtual void Clear(long startIndex, long endIndex) // LUCENENET 
TODO: API: Change this to use startIndex and length to match .NET
         {
             if (endIndex <= startIndex)
             {
@@ -587,7 +587,7 @@ namespace Lucene.Net.Util
         /// </summary>
         /// <param name="startIndex"> Lower index </param>
         /// <param name="endIndex"> One-past the last bit to flip </param>
-        public virtual void Flip(long startIndex, long endIndex)
+        public virtual void Flip(long startIndex, long endIndex) // LUCENENET 
TODO: API: Change this to use startIndex and length to match .NET
         {
             if (endIndex <= startIndex)
             {

Reply via email to