lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [48/50] [abbrv] lucenenet git commit: Lucene.Net.Spatial: Added getter to properties that only have setters per MSDN guidelines
Date Tue, 31 Jan 2017 17:56:21 GMT
Lucene.Net.Spatial: Added getter to properties that only have setters per MSDN guidelines


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

Branch: refs/heads/api-work
Commit: dbf661c614c37a0733ba2cb38267b36b45169346
Parents: 22daada
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 00:14:23 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 00:14:23 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Spatial/Prefix/PrefixTreeStrategy.cs          | 1 +
 src/Lucene.Net.Spatial/Prefix/RecursivePrefixTreeStrategy.cs | 4 ++++
 src/Lucene.Net.Spatial/Vector/PointVectorStrategy.cs         | 4 ++++
 3 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/dbf661c6/src/Lucene.Net.Spatial/Prefix/PrefixTreeStrategy.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Spatial/Prefix/PrefixTreeStrategy.cs b/src/Lucene.Net.Spatial/Prefix/PrefixTreeStrategy.cs
index c010a3d..10b6cc0 100644
--- a/src/Lucene.Net.Spatial/Prefix/PrefixTreeStrategy.cs
+++ b/src/Lucene.Net.Spatial/Prefix/PrefixTreeStrategy.cs
@@ -100,6 +100,7 @@ namespace Lucene.Net.Spatial.Prefix
         /// </summary>
         public virtual int DefaultFieldValuesArrayLen
         {
+            get { return m_defaultFieldValuesArrayLen; } // LUCENENET NOTE: Added getter
per MSDN guidelines
             set { m_defaultFieldValuesArrayLen = value; }
         }
 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/dbf661c6/src/Lucene.Net.Spatial/Prefix/RecursivePrefixTreeStrategy.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Spatial/Prefix/RecursivePrefixTreeStrategy.cs b/src/Lucene.Net.Spatial/Prefix/RecursivePrefixTreeStrategy.cs
index 21217f9..a298450 100644
--- a/src/Lucene.Net.Spatial/Prefix/RecursivePrefixTreeStrategy.cs
+++ b/src/Lucene.Net.Spatial/Prefix/RecursivePrefixTreeStrategy.cs
@@ -58,6 +58,10 @@ namespace Lucene.Net.Spatial.Prefix
         /// </summary>
         public virtual int PrefixGridScanLevel
         {
+            get // LUCENENET NOTE: Added getter per MSDN guidelines
+            {
+                return prefixGridScanLevel;
+            }
             set
             {
                 //TODO if negative then subtract from maxlevels

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/dbf661c6/src/Lucene.Net.Spatial/Vector/PointVectorStrategy.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Spatial/Vector/PointVectorStrategy.cs b/src/Lucene.Net.Spatial/Vector/PointVectorStrategy.cs
index fb8f956..b33d346 100644
--- a/src/Lucene.Net.Spatial/Vector/PointVectorStrategy.cs
+++ b/src/Lucene.Net.Spatial/Vector/PointVectorStrategy.cs
@@ -70,6 +70,10 @@ namespace Lucene.Net.Spatial.Vector
 
         public virtual int PrecisionStep
         {
+            get // LUCENENET NOTE: Added getter per MSDN guidelines
+            {
+                return precisionStep;
+            }
             set
             {
                 precisionStep = value;


Mime
View raw message