lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject lucenenet git commit: Fix compilation
Date Wed, 28 Jan 2015 11:41:31 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 67af7e4e9 -> 25405e3ed


Fix compilation


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

Branch: refs/heads/master
Commit: 25405e3ed360c1a0b78d40e75bd761c515f24c9b
Parents: 67af7e4
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Wed Jan 28 13:41:19 2015 +0200
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Wed Jan 28 13:41:19 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/25405e3e/src/Lucene.Net.Core/Analysis/NumericTokenStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Analysis/NumericTokenStream.cs b/src/Lucene.Net.Core/Analysis/NumericTokenStream.cs
index fcb1e6d..189de93 100644
--- a/src/Lucene.Net.Core/Analysis/NumericTokenStream.cs
+++ b/src/Lucene.Net.Core/Analysis/NumericTokenStream.cs
@@ -229,7 +229,7 @@ namespace Lucene.Net.Analysis
             {
                 FillBytesRef();
                 reflector.Reflect(typeof(ITermToBytesRefAttribute), "bytes", BytesRef.DeepCopyOf(_bytes));
-                reflector.Reflect(typeof(INumericTermAttribute), "shift", _shift);
+                reflector.Reflect(typeof(INumericTermAttribute), "shift", Shift);
                 reflector.Reflect(typeof(INumericTermAttribute), "rawValue", RawValue);
                 reflector.Reflect(typeof(INumericTermAttribute), "valueSize", ValueSize);
             }
@@ -237,7 +237,7 @@ namespace Lucene.Net.Analysis
             public override void CopyTo(Util.Attribute target)
             {
                 var a = (NumericTermAttribute)target;
-                a.Init(_value, ValueSize, _precisionStep, _shift);
+                a.Init(_value, ValueSize, _precisionStep, Shift);
             }
         }
 


Mime
View raw message