Lucene.Net.Core.Util.NumericUtils: Changed SHIFT_START_INT from sbyte to byte, since it is converted to byte anyway, and stores a positive value.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/f71dfb40 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/f71dfb40 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/f71dfb40 Branch: refs/heads/api-work Commit: f71dfb400d61ac8e59056ff5db076b6f26fc13f1 Parents: 7cb6064 Author: Shad Storhaug <[email protected]> Authored: Sun Feb 5 19:35:14 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Sun Feb 5 19:35:14 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net.Core/Util/NumericUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f71dfb40/src/Lucene.Net.Core/Util/NumericUtils.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Core/Util/NumericUtils.cs b/src/Lucene.Net.Core/Util/NumericUtils.cs index a013102..894e33b 100644 --- a/src/Lucene.Net.Core/Util/NumericUtils.cs +++ b/src/Lucene.Net.Core/Util/NumericUtils.cs @@ -89,7 +89,7 @@ namespace Lucene.Net.Util /// Integers are stored at lower precision by shifting off lower bits. The shift count is /// stored as <code>SHIFT_START_INT+shift</code> in the first byte /// </summary> - public const sbyte SHIFT_START_INT = 0x60; + public const byte SHIFT_START_INT = 0x60; /// <summary> /// The maximum term length (used for <code>byte[]</code> buffer size)
