You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/01/25 03:43:48 UTC

[04/50] [abbrv] lucenenet git commit: Lucene.Net.Tests.Core.Support.C5.HashBag: commented explicit compiler warnings

Lucene.Net.Tests.Core.Support.C5.HashBag: commented explicit compiler warnings


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

Branch: refs/heads/api-work
Commit: 6ef38077a48e0ad94dea8547eab0112d4e922791
Parents: a781c2c
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Jan 25 03:02:45 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Wed Jan 25 09:34:45 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Support/C5/HashBag.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6ef38077/src/Lucene.Net.Tests/core/Support/C5/HashBag.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Support/C5/HashBag.cs b/src/Lucene.Net.Tests/core/Support/C5/HashBag.cs
index 55a261f..288198a 100644
--- a/src/Lucene.Net.Tests/core/Support/C5/HashBag.cs
+++ b/src/Lucene.Net.Tests/core/Support/C5/HashBag.cs
@@ -299,7 +299,7 @@ namespace Lucene.Net.Support.C5
         /// <param name="items">The items to remove.</param>
         public virtual void RemoveAll(SCG.IEnumerable<T> items)
         {
-#warning Improve if items is a counting bag
+//#warning Improve if items is a counting bag
             updatecheck();
             bool mustRaise = (ActiveEvents & (EventTypeEnum.Changed | EventTypeEnum.Removed)) != 0;
             RaiseForRemoveAllHandler raiseHandler = mustRaise ? new RaiseForRemoveAllHandler(this) : null;
@@ -388,7 +388,7 @@ namespace Lucene.Net.Support.C5
                 {
                     int removed = p.Value - res.ContainsCount(p.Key);
                     if (removed > 0)
-#warning We could send bag events here easily using a CircularQueue of (should?)
+//#warning We could send bag events here easily using a CircularQueue of (should?)
                         for (int i = 0; i < removed; i++)
                             wasRemoved.Enqueue(p.Key);
                 }
@@ -574,7 +574,7 @@ namespace Lucene.Net.Support.C5
         public virtual void AddAll(SCG.IEnumerable<T> items)
         {
             updatecheck();
-#warning We could easily raise bag events
+//#warning We could easily raise bag events
             bool mustRaiseAdded = (ActiveEvents & EventTypeEnum.Added) != 0;
             CircularQueue<T> wasAdded = mustRaiseAdded ? new CircularQueue<T>() : null;
             bool wasChanged = false;