lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [10/12] lucenenet git commit: Changed all "String" references to "string" in QueryParser
Date Sun, 02 Oct 2016 10:22:21 GMT
Changed all "String" references to "string" in QueryParser


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

Branch: refs/heads/master
Commit: 195bbfc754731075f2ecb7fee325dba9bab09152
Parents: 97bd582
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Sep 22 15:47:46 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Sep 22 15:47:46 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.QueryParser/Classic/CharStream.cs  |  4 ++--
 .../Classic/FastCharStream.cs                     |  2 +-
 .../Classic/MultiFieldQueryParser.cs              | 12 ++++++------
 .../Classic/ParseException.cs                     |  2 +-
 src/Lucene.Net.QueryParser/Classic/QueryParser.cs |  6 +++---
 .../Classic/QueryParserBase.cs                    |  8 ++++----
 .../Classic/QueryParserTokenManager.cs            |  6 +++---
 .../Ext/ExtendableQueryParser.cs                  |  2 +-
 src/Lucene.Net.QueryParser/Ext/Extensions.cs      | 18 +++++++++---------
 .../Surround/Parser/CharStream.cs                 |  4 ++--
 .../Surround/Parser/FastCharStream.cs             |  2 +-
 .../Surround/Parser/ParseException.cs             |  2 +-
 .../Surround/Parser/QueryParser.cs                |  4 ++--
 .../Surround/Query/DistanceQuery.cs               |  2 +-
 .../Surround/Query/RewriteQuery.cs                |  2 +-
 .../Surround/Query/SrndPrefixQuery.cs             |  2 +-
 16 files changed, 39 insertions(+), 39 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/CharStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/CharStream.cs b/src/Lucene.Net.QueryParser/Classic/CharStream.cs
index 32294a8..7da1942 100644
--- a/src/Lucene.Net.QueryParser/Classic/CharStream.cs
+++ b/src/Lucene.Net.QueryParser/Classic/CharStream.cs
@@ -30,7 +30,7 @@ namespace Lucene.Net.QueryParsers.Classic
 	/// All the methods except backup can be implemented in any fashion. backup
 	/// needs to be implemented correctly for the correct operation of the lexer.
 	/// Rest of the methods are all used to get information like line number,
-	/// column number and the String that constitutes a token and are not used
+	/// column number and the string that constitutes a token and are not used
 	/// by the lexer. Hence their implementation won't affect the generated lexer's
 	/// operation.
 	/// </summary>
@@ -117,7 +117,7 @@ namespace Lucene.Net.QueryParsers.Classic
 		/// implementation of this is as follows :
 		/// 
 		/// {
-		/// String t = GetImage();
+		/// string t = GetImage();
 		/// return t.substring(t.length() - len, t.length()).toCharArray();
 		/// }
 		/// </summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/FastCharStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/FastCharStream.cs b/src/Lucene.Net.QueryParser/Classic/FastCharStream.cs
index c8c3204..954e425 100644
--- a/src/Lucene.Net.QueryParser/Classic/FastCharStream.cs
+++ b/src/Lucene.Net.QueryParser/Classic/FastCharStream.cs
@@ -103,7 +103,7 @@ namespace Lucene.Net.QueryParsers.Classic
 
 	    public string Image
 	    {
-	        get { return new System.String(buffer, tokenStart, bufferPosition - tokenStart);
}
+	        get { return new string(buffer, tokenStart, bufferPosition - tokenStart); }
 	    }
 
 	    public char[] GetSuffix(int len)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/MultiFieldQueryParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/MultiFieldQueryParser.cs b/src/Lucene.Net.QueryParser/Classic/MultiFieldQueryParser.cs
index befda31..291f44c 100644
--- a/src/Lucene.Net.QueryParser/Classic/MultiFieldQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Classic/MultiFieldQueryParser.cs
@@ -36,7 +36,7 @@ namespace Lucene.Net.QueryParsers.Classic
         /// Boost, and the boost to apply to each term.
         /// 
         /// <p/>
-        /// It will, when parse(String query) is called, construct a query like this
+        /// It will, when parse(string query) is called, construct a query like this
         /// (assuming the query consists of two terms and you specify the two fields
         /// <c>title</c> and <c>body</c>):
         /// <p/>
@@ -76,7 +76,7 @@ namespace Lucene.Net.QueryParsers.Classic
         /// Creates a MultiFieldQueryParser.
         /// 
         /// <p/>
-        /// It will, when parse(String query) is called, construct a query like this
+        /// It will, when parse(string query) is called, construct a query like this
         /// (assuming the query consists of two terms and you specify the two fields
         /// <c>title</c> and <c>body</c>):
         /// <p/>
@@ -189,7 +189,7 @@ namespace Lucene.Net.QueryParsers.Classic
             return base.GetFuzzyQuery(field, termStr, minSimilarity);
         }
 
-        protected internal override Query GetPrefixQuery(System.String field, System.String
termStr)
+        protected internal override Query GetPrefixQuery(string field, string termStr)
         {
             if (field == null)
             {
@@ -296,7 +296,7 @@ namespace Lucene.Net.QueryParsers.Classic
         /// <p/>
         /// Uasge:
         /// <code>
-        /// String[] fields = {&quot;filename&quot;, &quot;contents&quot;,
&quot;description&quot;};
+        /// string[] fields = {&quot;filename&quot;, &quot;contents&quot;,
&quot;description&quot;};
         /// BooleanClause.Occur[] flags = {BooleanClause.Occur.SHOULD,
         /// BooleanClause.Occur.MUST,
         /// BooleanClause.Occur.MUST_NOT};
@@ -351,8 +351,8 @@ namespace Lucene.Net.QueryParsers.Classic
         /// <p/>
         /// Usage:
         /// <code>
-        /// String[] query = {&quot;query1&quot;, &quot;query2&quot;, &quot;query3&quot;};
-        /// String[] fields = {&quot;filename&quot;, &quot;contents&quot;,
&quot;description&quot;};
+        /// string[] query = {&quot;query1&quot;, &quot;query2&quot;, &quot;query3&quot;};
+        /// string[] fields = {&quot;filename&quot;, &quot;contents&quot;,
&quot;description&quot;};
         /// BooleanClause.Occur[] flags = {BooleanClause.Occur.SHOULD,
         /// BooleanClause.Occur.MUST,
         /// BooleanClause.Occur.MUST_NOT};

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/ParseException.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/ParseException.cs b/src/Lucene.Net.QueryParser/Classic/ParseException.cs
index 835c4f4..efd8c3f 100644
--- a/src/Lucene.Net.QueryParser/Classic/ParseException.cs
+++ b/src/Lucene.Net.QueryParser/Classic/ParseException.cs
@@ -217,7 +217,7 @@ namespace Lucene.Net.QueryParsers.Classic
 					default: 
 						if ((ch = str[i]) < 0x20 || ch > 0x7e)
 						{
-							System.String s = "0000" + System.Convert.ToString(ch, 16);
+							string s = "0000" + System.Convert.ToString(ch, 16);
 							retval.Append("\\u" + s.Substring(s.Length - 4, (s.Length) - (s.Length - 4)));
 						}
 						else

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/QueryParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/QueryParser.cs b/src/Lucene.Net.QueryParser/Classic/QueryParser.cs
index 64878e9..9781516 100644
--- a/src/Lucene.Net.QueryParser/Classic/QueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Classic/QueryParser.cs
@@ -25,7 +25,7 @@ namespace Lucene.Net.QueryParsers.Classic
      */
 
     /// <summary> This class is generated by JavaCC.  The most important method is
-    /// <see cref="Parse(String)" />.
+    /// <see cref="Parse(string)" />.
     /// 
     /// The syntax for query strings is as follows:
     /// A Query is a series of clauses.
@@ -67,7 +67,7 @@ namespace Lucene.Net.QueryParsers.Classic
     /// <p/>
     /// The date resolution that shall be used for RangeQueries can be set
     /// using <see cref="SetDateResolution(DateTools.Resolution)" />
-    /// or <see cref="SetDateResolution(String, DateTools.Resolution)" />. The former
+    /// or <see cref="SetDateResolution(string, DateTools.Resolution)" />. The former
     /// sets the default date resolution for all fields, whereas the latter can
     /// be used to set field specific date resolutions. Field specific date
     /// resolutions take, if set, precedence over the default date resolution.
@@ -75,7 +75,7 @@ namespace Lucene.Net.QueryParsers.Classic
     /// <p/>
     /// If you don't use <see cref="DateTools" /> in your index, you can create your
own
     /// query parser that inherits QueryParser and overwrites
-    /// <see cref="GetRangeQuery(String, String, String, bool)" /> to
+    /// <see cref="GetRangeQuery(string, string, string, bool)" /> to
     /// use a different method for date conversion.
     /// <p/>
     /// 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs b/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs
index 68d1ef6..83e13a2 100644
--- a/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs
+++ b/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs
@@ -424,7 +424,7 @@ namespace Lucene.Net.QueryParsers.Classic
         /// <param name="slop"></param>
         /// <exception cref="ParseException">throw in overridden method to disallow</exception>
         /// <returns></returns>
-        protected internal virtual Query GetFieldQuery(String field, String queryText, int
slop)
+        protected internal virtual Query GetFieldQuery(string field, string queryText, int
slop)
         {
             Query query = GetFieldQuery(field, queryText, true);
 
@@ -898,7 +898,7 @@ namespace Lucene.Net.QueryParsers.Classic
         }
 
         /// <summary>
-        /// Returns a String where the escape char has been
+        /// Returns a string where the escape char has been
         /// removed, or kept only once if there was a double escape.
         /// 
         /// Supports escaped unicode characters, e. g. translates 
@@ -979,7 +979,7 @@ namespace Lucene.Net.QueryParsers.Classic
                 throw new ParseException("Term can not end with escape character.");
             }
 
-            return new String(output, 0, length);
+            return new string(output, 0, length);
         }
 
         /// <summary>
@@ -1006,7 +1006,7 @@ namespace Lucene.Net.QueryParsers.Classic
         }
 
         /// <summary>
-        /// Returns a String where those characters that QueryParser
+        /// Returns a string where those characters that QueryParser
         /// expects to be escaped are escaped by a preceding <code>\</code>.
         /// </summary>
         public static string Escape(string s)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs b/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs
index 409a33e..cc5191f 100644
--- a/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs
+++ b/src/Lucene.Net.QueryParser/Classic/QueryParserTokenManager.cs
@@ -1204,12 +1204,12 @@ namespace Lucene.Net.QueryParsers.Classic
 		protected internal virtual Token JjFillToken()
 		{
 			Token t;
-			System.String curTokenImage;
+			string curTokenImage;
 			int beginLine;
 			int endLine;
 			int beginColumn;
 			int endColumn;
-			System.String im = jjstrLiteralImages[jjmatchedKind];
+			string im = jjstrLiteralImages[jjmatchedKind];
 			curTokenImage = (im == null)?input_stream.Image:im;
 			beginLine = input_stream.BeginLine;
 			beginColumn = input_stream.BeginColumn;
@@ -1293,7 +1293,7 @@ namespace Lucene.Net.QueryParsers.Classic
 				}
 				int error_line = input_stream.EndLine;
 				int error_column = input_stream.EndColumn;
-				System.String error_after = null;
+				string error_after = null;
 				bool EOFSeen = false;
 				try
 				{

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Ext/ExtendableQueryParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Ext/ExtendableQueryParser.cs b/src/Lucene.Net.QueryParser/Ext/ExtendableQueryParser.cs
index b33ce13..08538a2 100644
--- a/src/Lucene.Net.QueryParser/Ext/ExtendableQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Ext/ExtendableQueryParser.cs
@@ -30,7 +30,7 @@ namespace Lucene.Net.QueryParsers.Ext
     /// keys into the field symbol associated with a registered instance of
     /// <see cref="ParserExtension"/>. A customizable separation character separates
the
     /// extension key from the actual field symbol. The <see cref="ExtendableQueryParser"/>
-    /// splits (<see cref="Extensions.SplitExtensionField(String, String)"/>) the
+    /// splits (<see cref="Extensions.SplitExtensionField(string, string)"/>) the
     /// extension key from the field symbol and tries to resolve the associated
     /// <see cref="ParserExtension"/>. If the parser can't resolve the key or the field
     /// token does not contain a separation character, <see cref="ExtendableQueryParser"/>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Ext/Extensions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Ext/Extensions.cs b/src/Lucene.Net.QueryParser/Ext/Extensions.cs
index f441850..e64c809 100644
--- a/src/Lucene.Net.QueryParser/Ext/Extensions.cs
+++ b/src/Lucene.Net.QueryParser/Ext/Extensions.cs
@@ -83,7 +83,7 @@ namespace Lucene.Net.QueryParsers.Ext
 
         /// <summary>
         /// Splits a extension field and returns the field / extension part as a
-        /// <see cref="Tuple{String,String}"/>. This method tries to split on the first
occurrence of the
+        /// <see cref="Tuple{string,string}"/>. This method tries to split on the first
occurrence of the
         /// extension field delimiter, if the delimiter is not present in the string
         /// the result will contain a <code>null</code> value for the extension
key and
         /// the given field string as the field value. If the given extension field
@@ -92,8 +92,8 @@ namespace Lucene.Net.QueryParsers.Ext
         /// </summary>
         /// <param name="defaultField">the default query field</param>
         /// <param name="field">the extension field string</param>
-        /// <returns>a {<see cref="Tuple{String,String}"/> with the field name
as the <see cref="Tuple{String,String}.Item1"/> and the
-        /// extension key as the <see cref="Tuple{String,String}.Item2"/></returns>
+        /// <returns>a {<see cref="Tuple{string,string}"/> with the field name
as the <see cref="Tuple{string,string}.Item1"/> and the
+        /// extension key as the <see cref="Tuple{string,string}.Item2"/></returns>
         public virtual Tuple<string, string> SplitExtensionField(string defaultField,
string field)
         {
             int indexOf = field.IndexOf(this.extensionFieldDelimiter);
@@ -106,7 +106,7 @@ namespace Lucene.Net.QueryParsers.Ext
 
         /// <summary>
         /// Escapes an extension field. The default implementation is equivalent to
-        /// <see cref="QueryParser.Escape(String)"/>.
+        /// <see cref="QueryParser.Escape(string)"/>.
         /// </summary>
         /// <param name="extfield">the extension field identifier</param>
         /// <returns>the extension field identifier with all special chars escaped
with
@@ -125,8 +125,8 @@ namespace Lucene.Net.QueryParsers.Ext
         /// beginning. Special Query characters are escaped in the result.
         /// <p>
         /// Note: <see cref="Extensions"/> subclasses must maintain the contract between
-        /// <see cref="M:BuildExtensionField(String)"/> and
-        /// <see cref="M:BuildExtensionField(String, String)"/> where the latter inverts
the
+        /// <see cref="M:BuildExtensionField(string)"/> and
+        /// <see cref="M:BuildExtensionField(string, string)"/> where the latter inverts
the
         /// former.
         /// </p>
         /// </summary>
@@ -146,14 +146,14 @@ namespace Lucene.Net.QueryParsers.Ext
         /// beginning. Special Query characters are escaped in the result.
         /// <p>
         /// Note: <see cref="Extensions"/> subclasses must maintain the contract between
-        /// <see cref="M:BuildExtensionField(String)"/> and
-        /// <see cref="M:BuildExtensionField(String, String)"/> where the latter inverts
the
+        /// <see cref="M:BuildExtensionField(string)"/> and
+        /// <see cref="M:BuildExtensionField(string, string)"/> where the latter inverts
the
         /// former.
         /// </summary>
         /// <param name="extensionKey">the extension key</param>
         /// <param name="field">the field to apply the extension on.</param>
         /// <returns>escaped extension field identifier</returns>
-        /// <remarks>See <see cref="M:BuildExtensionField(String)"/> to use the
default query field</remarks>
+        /// <remarks>See <see cref="M:BuildExtensionField(string)"/> to use the
default query field</remarks>
         public virtual string BuildExtensionField(string extensionKey, string field)
         {
             StringBuilder builder = new StringBuilder(field);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Parser/CharStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Parser/CharStream.cs b/src/Lucene.Net.QueryParser/Surround/Parser/CharStream.cs
index 386c9ad..8136f0f 100644
--- a/src/Lucene.Net.QueryParser/Surround/Parser/CharStream.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Parser/CharStream.cs
@@ -30,7 +30,7 @@ namespace Lucene.Net.QueryParsers.Surround.Parser
     /// All the methods except backup can be implemented in any fashion. backup
     /// needs to be implemented correctly for the correct operation of the lexer.
     /// Rest of the methods are all used to get information like line number,
-    /// column number and the String that constitutes a token and are not used
+    /// column number and the string that constitutes a token and are not used
     /// by the lexer. Hence their implementation won't affect the generated lexer's
     /// operation.
     /// </summary>
@@ -117,7 +117,7 @@ namespace Lucene.Net.QueryParsers.Surround.Parser
         /// implementation of this is as follows :
         /// 
         /// {
-        /// String t = GetImage();
+        /// string t = GetImage();
         /// return t.substring(t.length() - len, t.length()).toCharArray();
         /// }
         /// </summary>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Parser/FastCharStream.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Parser/FastCharStream.cs b/src/Lucene.Net.QueryParser/Surround/Parser/FastCharStream.cs
index 16a548e..24a7102 100644
--- a/src/Lucene.Net.QueryParser/Surround/Parser/FastCharStream.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Parser/FastCharStream.cs
@@ -103,7 +103,7 @@ namespace Lucene.Net.QueryParsers.Surround.Parser
 
         public string Image
         {
-            get { return new System.String(buffer, tokenStart, bufferPosition - tokenStart);
}
+            get { return new string(buffer, tokenStart, bufferPosition - tokenStart); }
         }
 
         public char[] GetSuffix(int len)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Parser/ParseException.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Parser/ParseException.cs b/src/Lucene.Net.QueryParser/Surround/Parser/ParseException.cs
index 4b1e7f2..6f7ed81 100644
--- a/src/Lucene.Net.QueryParser/Surround/Parser/ParseException.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Parser/ParseException.cs
@@ -217,7 +217,7 @@ namespace Lucene.Net.QueryParsers.Surround.Parser
                     default:
                         if ((ch = str[i]) < 0x20 || ch > 0x7e)
                         {
-                            System.String s = "0000" + System.Convert.ToString(ch, 16);
+                            string s = "0000" + System.Convert.ToString(ch, 16);
                             retval.Append("\\u" + s.Substring(s.Length - 4, (s.Length) -
(s.Length - 4)));
                         }
                         else

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Parser/QueryParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Parser/QueryParser.cs b/src/Lucene.Net.QueryParser/Surround/Parser/QueryParser.cs
index afdfc64..bdab9ca 100644
--- a/src/Lucene.Net.QueryParser/Surround/Parser/QueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Parser/QueryParser.cs
@@ -142,12 +142,12 @@ namespace Lucene.Net.QueryParsers.Surround.Parser
         }
 
         protected virtual SrndQuery GetTermQuery(
-              String term, bool quoted)
+              string term, bool quoted)
         {
             return new SrndTermQuery(term, quoted);
         }
 
-        protected virtual bool AllowedSuffix(String suffixed)
+        protected virtual bool AllowedSuffix(string suffixed)
         {
             return (suffixed.Length - 1) >= minimumPrefixLength;
         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Query/DistanceQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Query/DistanceQuery.cs b/src/Lucene.Net.QueryParser/Surround/Query/DistanceQuery.cs
index 7e4217d..5169343 100644
--- a/src/Lucene.Net.QueryParser/Surround/Query/DistanceQuery.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Query/DistanceQuery.cs
@@ -80,7 +80,7 @@ namespace Lucene.Net.QueryParsers.Surround.Query
 
         public virtual Search.Query GetSpanNearQuery(
             IndexReader reader,
-            String fieldName,
+            string fieldName,
             float boost,
             BasicQueryFactory qf)
         {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Query/RewriteQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Query/RewriteQuery.cs b/src/Lucene.Net.QueryParser/Surround/Query/RewriteQuery.cs
index fe41d5c..89b8459 100644
--- a/src/Lucene.Net.QueryParser/Surround/Query/RewriteQuery.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Query/RewriteQuery.cs
@@ -28,7 +28,7 @@ namespace Lucene.Net.QueryParsers.Surround.Query
 
         public RewriteQuery(
             SQ srndQuery,
-            String fieldName,
+            string fieldName,
             BasicQueryFactory qf)
         {
             this.srndQuery = srndQuery;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/195bbfc7/src/Lucene.Net.QueryParser/Surround/Query/SrndPrefixQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Surround/Query/SrndPrefixQuery.cs b/src/Lucene.Net.QueryParser/Surround/Query/SrndPrefixQuery.cs
index 6f850e0..cffa38a 100644
--- a/src/Lucene.Net.QueryParser/Surround/Query/SrndPrefixQuery.cs
+++ b/src/Lucene.Net.QueryParser/Surround/Query/SrndPrefixQuery.cs
@@ -22,7 +22,7 @@ namespace Lucene.Net.QueryParsers.Surround.Query
      */
 
     /// <summary>
-    /// Query that matches String prefixes
+    /// Query that matches string prefixes
     /// </summary>
     public class SrndPrefixQuery : SimpleTerm
     {


Mime
View raw message