lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [02/33] lucenenet git commit: Lucene.Net.Codecs.Memory.DirectDocValuesConsumer: Reviewed and removed TODO
Date Fri, 17 Mar 2017 22:28:32 GMT
Lucene.Net.Codecs.Memory.DirectDocValuesConsumer: Reviewed and removed TODO


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/2834c04e
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/2834c04e
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/2834c04e

Branch: refs/heads/api-work
Commit: 2834c04e66e6520fdb40ff86389d17983184271a
Parents: a46f3f5
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Mar 16 14:33:20 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Mar 16 14:33:20 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Codecs/Memory/DirectDocValuesConsumer.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2834c04e/src/Lucene.Net.Codecs/Memory/DirectDocValuesConsumer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Codecs/Memory/DirectDocValuesConsumer.cs b/src/Lucene.Net.Codecs/Memory/DirectDocValuesConsumer.cs
index dea7c28..815ae47 100644
--- a/src/Lucene.Net.Codecs/Memory/DirectDocValuesConsumer.cs
+++ b/src/Lucene.Net.Codecs/Memory/DirectDocValuesConsumer.cs
@@ -116,7 +116,7 @@ namespace Lucene.Net.Codecs.Memory
             {
                 byteWidth = 1;
             }
-            else if (minValue >= short.MinValue && maxValue <= short.MaxValue)
// LUCENENET TODO: Shouldn't this be ushort?
+            else if (minValue >= short.MinValue && maxValue <= short.MaxValue)
             {
                 byteWidth = 2;
             }


Mime
View raw message