lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [21/21] git commit: Cleanup
Date Fri, 19 Sep 2014 14:19:54 GMT
Cleanup


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

Branch: refs/heads/master
Commit: 433a340a40be8f1a563c41f2249210dc39a4751b
Parents: ba0f3c7
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Fri Sep 19 17:18:28 2014 +0300
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Fri Sep 19 17:18:28 2014 +0300

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/FieldCache.cs         |  6 ++----
 src/Lucene.Net.Core/Search/Filter.cs             |  3 ++-
 src/Lucene.Net.Core/Search/Weight.cs             |  2 ++
 src/Lucene.Net.Core/Util/Mutable/MutableValue.cs | 19 +------------------
 4 files changed, 7 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/433a340a/src/Lucene.Net.Core/Search/FieldCache.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/FieldCache.cs b/src/Lucene.Net.Core/Search/FieldCache.cs
index fa9a75b..187e0c7 100644
--- a/src/Lucene.Net.Core/Search/FieldCache.cs
+++ b/src/Lucene.Net.Core/Search/FieldCache.cs
@@ -49,9 +49,7 @@ namespace Lucene.Net.Search
     /// <p>Created: May 19, 2004 11:13:14 AM
     ///
     /// @since   lucene 1.4 </summary>
-    /// <seealso cref= Lucene.Net.Util.FieldCacheSanityChecker
-    ///
-    /// @lucene.internal </seealso>
+    /// <seealso cref=Lucene.Net.Util.FieldCacheSanityChecker</seealso>
     public interface FieldCache
     {
         /// <summary>
@@ -121,7 +119,7 @@ namespace Lucene.Net.Search
         FieldCache_Fields.Shorts GetShorts(AtomicReader reader, string field, FieldCache_Fields.IShortParser
parser, bool setDocsWithField);
 
         /// <summary>
-        /// Returns an <seealso cref="Ints"/> over the values found in documents in
the given
+        /// Returns an <seealso cref="FieldCache_Fields.Ints"/> over the values found
in documents in the given
         /// field.
         /// </summary>
         /// <seealso cref= #getInts(AtomicReader, String, IntParser, boolean) </seealso>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/433a340a/src/Lucene.Net.Core/Search/Filter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/Filter.cs b/src/Lucene.Net.Core/Search/Filter.cs
index 145d6fb..2057f5e 100644
--- a/src/Lucene.Net.Core/Search/Filter.cs
+++ b/src/Lucene.Net.Core/Search/Filter.cs
@@ -1,3 +1,5 @@
+using Lucene.Net.Index;
+
 namespace Lucene.Net.Search
 {
     /*
@@ -17,7 +19,6 @@ namespace Lucene.Net.Search
      * limitations under the License.
      */
 
-    // javadocs
     using AtomicReaderContext = Lucene.Net.Index.AtomicReaderContext;
     using Bits = Lucene.Net.Util.Bits;
 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/433a340a/src/Lucene.Net.Core/Search/Weight.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/Weight.cs b/src/Lucene.Net.Core/Search/Weight.cs
index 79a3cbb..7f69e52 100644
--- a/src/Lucene.Net.Core/Search/Weight.cs
+++ b/src/Lucene.Net.Core/Search/Weight.cs
@@ -1,3 +1,5 @@
+using System.IO;
+
 namespace Lucene.Net.Search
 {
     /*

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/433a340a/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 63e402c..328a080 100644
--- a/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs
+++ b/src/Lucene.Net.Core/Util/Mutable/MutableValue.cs
@@ -26,19 +26,7 @@ namespace Lucene.Net.Util.Mutable
     /// </summary>
     public abstract class MutableValue : IComparable<MutableValue>
     {
-        private bool exists = true;
-
-        public bool Exists
-        {
-            get
-            {
-                return exists;
-            }
-            set
-            {
-                exists = value;
-            }
-        }
+        public bool Exists { get; set; }
 
         public abstract void Copy(MutableValue source);
 
@@ -50,11 +38,6 @@ namespace Lucene.Net.Util.Mutable
 
         public abstract object ToObject();
 
-        /*public virtual bool Exists()
-        {
-          return exists;
-        }*/
-
         public virtual int CompareTo(MutableValue other)
         {
             Type c1 = this.GetType();


Mime
View raw message