lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/2] lucenenet git commit: fix empty if statement
Date Tue, 03 Feb 2015 23:37:36 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master e64da2c58 -> 0275b4daf


fix empty if statement


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

Branch: refs/heads/master
Commit: 107238d13e523f9a4fb41f5c37afb0d1279a2ffe
Parents: e64da2c
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Tue Feb 3 06:09:46 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Tue Feb 3 06:09:46 2015 -0500

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/BufferedUpdates.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/107238d1/src/Lucene.Net.Core/Index/BufferedUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/BufferedUpdates.cs b/src/Lucene.Net.Core/Index/BufferedUpdates.cs
index 2d507d3..9bfe4f2 100644
--- a/src/Lucene.Net.Core/Index/BufferedUpdates.cs
+++ b/src/Lucene.Net.Core/Index/BufferedUpdates.cs
@@ -282,7 +282,7 @@ namespace Lucene.Net.Index
         {
             /*Linked*/
             HashMap<Term, BinaryDocValuesUpdate> fieldUpdates;
-            if (!BinaryUpdates.TryGetValue(update.Field, out fieldUpdates)) ;
+            if (!BinaryUpdates.TryGetValue(update.Field, out fieldUpdates))
             {
                 fieldUpdates = new /*Linked*/HashMap<Term, BinaryDocValuesUpdate>();
                 BinaryUpdates[update.Field] = fieldUpdates;


Mime
View raw message