lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [3/6] lucenenet git commit: check tokenstream implementation outside of debug.assert
Date Sat, 09 May 2015 18:46:27 GMT
check tokenstream implementation outside of debug.assert


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

Branch: refs/heads/master
Commit: 40ea94e794705d6f56d17d6f0fedf131752bd922
Parents: 4eab349
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Fri May 8 15:39:54 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Fri May 8 15:39:54 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Analysis/TokenStream.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/40ea94e7/src/Lucene.Net.Core/Analysis/TokenStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Analysis/TokenStream.cs b/src/Lucene.Net.Core/Analysis/TokenStream.cs
index 5f2aebb..795d0b6 100644
--- a/src/Lucene.Net.Core/Analysis/TokenStream.cs
+++ b/src/Lucene.Net.Core/Analysis/TokenStream.cs
@@ -91,7 +91,7 @@ namespace Lucene.Net.Analysis
         /// </summary>
         protected TokenStream()
         {
-            Debug.Assert(AssertFinal());
+            AssertFinal();
         }
 
         /// <summary>
@@ -100,7 +100,7 @@ namespace Lucene.Net.Analysis
         protected TokenStream(AttributeSource input)
             : base(input)
         {
-            Debug.Assert(AssertFinal());
+            AssertFinal();
         }
 
         /// <summary>
@@ -109,7 +109,7 @@ namespace Lucene.Net.Analysis
         protected TokenStream(AttributeFactory factory)
             : base(factory)
         {
-            Debug.Assert(AssertFinal());
+            AssertFinal();
         }
 
         private bool AssertFinal()


Mime
View raw message