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 2016/11/10 11:33:37 UTC

[26/58] [abbrv] lucenenet git commit: Fixed bug in Core.Util.Mutable.MutableValue - default value of Exists property was not being set to true.

Fixed bug in Core.Util.Mutable.MutableValue - default value of Exists property was not being set to true.


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

Branch: refs/heads/grouping
Commit: 8af1037d09e94a62f5a9efae3e1ceba6f6ec0ada
Parents: 8cc1a3f
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Nov 2 23:05:15 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Tue Nov 8 02:24:52 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Util/Mutable/MutableValue.cs | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8af1037d/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs b/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs
index 328a080..66334b3 100644
--- a/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs
+++ b/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs
@@ -26,6 +26,11 @@ namespace Lucene.Net.Util.Mutable
     /// </summary>
     public abstract class MutableValue : IComparable<MutableValue>
     {
+        protected MutableValue()
+        {
+            Exists = true;
+        }
+
         public bool Exists { get; set; }
 
         public abstract void Copy(MutableValue source);