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/02/01 05:35:02 UTC

lucenenet git commit: Lucene.Net.QueryParser: Renamed public constants that start with "_" to make them CLS compliant

Repository: lucenenet
Updated Branches:
  refs/heads/api-work a6168d076 -> ccbf6b10c


Lucene.Net.QueryParser: Renamed public constants that start with "_" to make them CLS compliant


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

Branch: refs/heads/api-work
Commit: ccbf6b10c655c40f3a118f5549eccb7440f4d905
Parents: a6168d0
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Wed Feb 1 12:34:02 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Wed Feb 1 12:34:02 2017 +0700

----------------------------------------------------------------------
 .../Classic/QueryParserConstants.cs                     | 12 ++++++------
 .../Standard/Parser/StandardSyntaxParserConstants.cs    | 12 ++++++------
 .../Surround/Parser/QueryParserConstants.cs             | 12 ++++++------
 3 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ccbf6b10/src/Lucene.Net.QueryParser/Classic/QueryParserConstants.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/QueryParserConstants.cs b/src/Lucene.Net.QueryParser/Classic/QueryParserConstants.cs
index 7687dfe..0520e88 100644
--- a/src/Lucene.Net.QueryParser/Classic/QueryParserConstants.cs
+++ b/src/Lucene.Net.QueryParser/Classic/QueryParserConstants.cs
@@ -22,17 +22,17 @@ namespace Lucene.Net.QueryParsers.Classic
         /// <summary>End of File. </summary>
         public const int EOF = 0;
         /// <summary>RegularExpression Id. </summary>
-        public const int _NUM_CHAR = 1;
+        public const int NUM_CHAR = 1; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _ESCAPED_CHAR = 2;
+        public const int ESCAPED_CHAR = 2; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _TERM_START_CHAR = 3;
+        public const int TERM_START_CHAR = 3; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _TERM_CHAR = 4;
+        public const int TERM_CHAR = 4; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _WHITESPACE = 5;
+        public const int WHITESPACE = 5; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _QUOTED_CHAR = 6;
+        public const int QUOTED_CHAR = 6; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
         public const int AND = 8;
         /// <summary>RegularExpression Id. </summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ccbf6b10/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserConstants.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserConstants.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserConstants.cs
index f1aaef7..7558aff 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserConstants.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/StandardSyntaxParserConstants.cs
@@ -22,17 +22,17 @@
         /// <summary>End of File. </summary>
         public const int EOF = 0;
         /// <summary>RegularExpression Id. </summary>
-        public const int _NUM_CHAR = 1;
+        public const int NUM_CHAR = 1; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _ESCAPED_CHAR = 2;
+        public const int ESCAPED_CHAR = 2; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _TERM_START_CHAR = 3;
+        public const int TERM_START_CHAR = 3; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _TERM_CHAR = 4;
+        public const int TERM_CHAR = 4; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _WHITESPACE = 5;
+        public const int WHITESPACE = 5; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _QUOTED_CHAR = 6;
+        public const int QUOTED_CHAR = 6; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
         public const int AND = 8;
         /// <summary>RegularExpression Id. </summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ccbf6b10/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserConstants.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserConstants.cs b/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserConstants.cs
index f5959c1..3045974 100644
--- a/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserConstants.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Parser/QueryParserConstants.cs
@@ -22,17 +22,17 @@
         /// <summary>End of File. </summary>
         public const int EOF = 0;
         /// <summary>RegularExpression Id. </summary>
-        public const int _NUM_CHAR = 1;
+        public const int NUM_CHAR = 1; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _TERM_CHAR = 2;
+        public const int TERM_CHAR = 2; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _WHITESPACE = 3;
+        public const int WHITESPACE = 3; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _STAR = 4;
+        public const int STAR = 4; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _ONE_CHAR = 5;
+        public const int ONE_CHAR = 5; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
-        public const int _DISTOP_NUM = 6;
+        public const int DISTOP_NUM = 6; // LUCENENET specific: removed leading underscore to make CLS compliant
         /// <summary>RegularExpression Id. </summary>
         public const int OR = 8;
         /// <summary>RegularExpression Id. </summary>