lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/2] lucenenet git commit: Removed C#6 features from QueryParser.Flexible (closes #198)
Date Tue, 06 Dec 2016 17:59:31 GMT
Removed C#6 features from QueryParser.Flexible (closes #198)


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

Branch: refs/heads/master
Commit: 5a4837fcfe39699fbdfb7100678785c26aa3116c
Parents: e4ad1bd
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Dec 7 00:55:07 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Dec 7 00:55:07 2016 +0700

----------------------------------------------------------------------
 .../Flexible/Standard/Config/NumericConfig.cs                | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5a4837fc/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
index fb2db14..d6c5a5a 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/Config/NumericConfig.cs
@@ -1,6 +1,6 @@
 ´╗┐using Lucene.Net.Support;
 using System;
-using static Lucene.Net.Documents.FieldType;
+using Lucene.Net.Documents;
 
 namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
 {
@@ -33,7 +33,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
 
         private NumberFormat format;
 
-        private NumericType type;
+        private FieldType.NumericType type;
 
         /// <summary>
         /// Constructs a <see cref="NumericConfig"/> object.
@@ -45,7 +45,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
         /// <seealso cref="NumericConfig.NumberFormat"/>
         /// <seealso cref="Type"/>
         public NumericConfig(int precisionStep, NumberFormat format,
-            NumericType type)
+            FieldType.NumericType type)
         {
             PrecisionStep = precisionStep;
             NumberFormat = format;
@@ -83,7 +83,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard.Config
         /// <summary>
         /// Gets or Sets the numeric type used to index the numeric values
         /// </summary>
-        public virtual NumericType Type
+        public virtual FieldType.NumericType Type
         {
             get { return type; }
             set { type = value; }


Mime
View raw message