You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2014/12/27 18:00:44 UTC
[2/2] lucenenet git commit: looks like a remnant of sbyte to byte
fixes
looks like a remnant of sbyte to byte fixes
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/b688fb35
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/b688fb35
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/b688fb35
Branch: refs/heads/master
Commit: b688fb355fe2a1e17235c7219f34fdb7b6fb5437
Parents: c9caf7c
Author: Laimonas Simutis <la...@gmail.com>
Authored: Sat Dec 27 11:35:23 2014 -0500
Committer: Laimonas Simutis <la...@gmail.com>
Committed: Sat Dec 27 11:35:23 2014 -0500
----------------------------------------------------------------------
src/Lucene.Net.Core/Codecs/Lucene41/Lucene41PostingsWriter.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b688fb35/src/Lucene.Net.Core/Codecs/Lucene41/Lucene41PostingsWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Codecs/Lucene41/Lucene41PostingsWriter.cs b/src/Lucene.Net.Core/Codecs/Lucene41/Lucene41PostingsWriter.cs
index 27c636a..6fd8eac 100644
--- a/src/Lucene.Net.Core/Codecs/Lucene41/Lucene41PostingsWriter.cs
+++ b/src/Lucene.Net.Core/Codecs/Lucene41/Lucene41PostingsWriter.cs
@@ -90,7 +90,7 @@ namespace Lucene.Net.Codecs.Lucene41
internal readonly int[] OffsetLengthBuffer;
private int PosBufferUpto;
- private sbyte[] PayloadBytes;
+ private byte[] PayloadBytes;
private int PayloadByteUpto;
private int LastBlockDocID;
@@ -131,7 +131,7 @@ namespace Lucene.Net.Codecs.Lucene41
if (state.FieldInfos.HasPayloads())
{
- PayloadBytes = new sbyte[128];
+ PayloadBytes = new byte[128];
PayloadLengthBuffer = new int[ForUtil.MAX_DATA_SIZE];
}
else