lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [08/15] lucenenet git commit: Lucene.net.QueryParser.Simple.SimpleQueryParser.State refactor: changed accessibilty of all members back to internal (including public array properties)
Date Wed, 01 Feb 2017 05:19:07 GMT
Lucene.net.QueryParser.Simple.SimpleQueryParser.State refactor: changed accessibilty of all
members back to internal (including public array properties)


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

Branch: refs/heads/api-work
Commit: f09f5ce8dd10ece33a493a7ebc360ac1b7636f1e
Parents: 3321ce0
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 10:15:26 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 10:15:26 2017 +0700

----------------------------------------------------------------------
 .../Simple/SimpleQueryParser.cs                 | 22 ++++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f09f5ce8/src/Lucene.Net.QueryParser/Simple/SimpleQueryParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Simple/SimpleQueryParser.cs b/src/Lucene.Net.QueryParser/Simple/SimpleQueryParser.cs
index f8cbf4f..7a4b1b9 100644
--- a/src/Lucene.Net.QueryParser/Simple/SimpleQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Simple/SimpleQueryParser.cs
@@ -710,7 +710,7 @@ namespace Lucene.Net.QueryParsers.Simple
         }
 
 
-        public class State
+        internal class State
         {
             //private readonly char[] data;   // the characters in the query string
             //private readonly char[] buffer; // a temporary buffer used to reduce necessary
allocations
@@ -731,12 +731,12 @@ namespace Lucene.Net.QueryParsers.Simple
                 this.Length = length;
             }
 
-            public char[] Data { get; protected set; } // the characters in the query string
-            public char[] Buffer { get; protected set; } // a temporary buffer used to reduce
necessary allocations
-            public int Index { get; set; }
-            public int Length { get; protected set; }
+            internal char[] Data { get; private set; } // the characters in the query string
+            internal char[] Buffer { get; private set; } // a temporary buffer used to reduce
necessary allocations
+            internal int Index { get; set; }
+            internal int Length { get; set; }
 
-            public Occur CurrentOperation 
+            internal Occur CurrentOperation 
             {
                 get 
                 { 
@@ -749,7 +749,7 @@ namespace Lucene.Net.QueryParsers.Simple
                 }
             }
 
-            public Occur PreviousOperation
+            internal Occur PreviousOperation
             {
                 get
                 {
@@ -762,11 +762,11 @@ namespace Lucene.Net.QueryParsers.Simple
                 }
             }
 
-            public bool CurrentOperationIsSet { get; set; }
-            public bool PreviousOperationIsSet { get; set; }
+            internal bool CurrentOperationIsSet { get; set; }
+            internal bool PreviousOperationIsSet { get; set; }
 
-            public int Not { get; set; }
-            public Query Top { get; set; }
+            internal int Not { get; set; }
+            internal Query Top { get; set; }
         }
     }
 }


Mime
View raw message