lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject lucenenet git commit: Fixing compilation
Date Sun, 01 Feb 2015 12:27:30 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master bef6b9d04 -> 7e134f196


Fixing compilation


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

Branch: refs/heads/master
Commit: 7e134f196d03c0d6e485e3eb57a088b52ff8a281
Parents: bef6b9d
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Sun Feb 1 14:27:05 2015 +0200
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Sun Feb 1 14:27:05 2015 +0200

----------------------------------------------------------------------
 src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xFields.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7e134f19/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xFields.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xFields.cs b/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xFields.cs
index 296c1fe..b87f12f 100644
--- a/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xFields.cs
+++ b/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xFields.cs
@@ -299,8 +299,8 @@ namespace Lucene.Net.Codecs.Lucene3x
 
             internal SegmentTermEnum SeekTermEnum;
 
-            private const sbyte UTF8_NON_BMP_LEAD = unchecked((sbyte) 0xf0);
-            private const sbyte UTF8_HIGH_BMP_LEAD = unchecked((sbyte) 0xee);
+            private static readonly sbyte UTF8_NON_BMP_LEAD = unchecked((sbyte) 0xf0);
+            private static readonly sbyte UTF8_HIGH_BMP_LEAD = unchecked((sbyte) 0xee);
 
             // Returns true if the unicode char is "after" the
             // surrogates in UTF16, ie >= U+E000 and <= U+FFFF:


Mime
View raw message