lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [2/2] lucenenet git commit: looks like a remnant of sbyte to byte fixes
Date Sat, 27 Dec 2014 17:00:44 GMT
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 <laimis@gmail.com>
Authored: Sat Dec 27 11:35:23 2014 -0500
Committer: Laimonas Simutis <laimis@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


Mime
View raw message