lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [15/15] lucenenet git commit: Lucene.Net.Queries.TermsFilter: Changed parameters and return types from List<T> to IList<T>
Date Wed, 01 Feb 2017 05:19:14 GMT
Lucene.Net.Queries.TermsFilter: Changed parameters and return types from List<T> to IList<T>


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

Branch: refs/heads/api-work
Commit: a6168d076d10c58c79305984098c1bbfee577acf
Parents: a007bec
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 12:18:23 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 12:18:23 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Queries/TermsFilter.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a6168d07/src/Lucene.Net.Queries/TermsFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Queries/TermsFilter.cs b/src/Lucene.Net.Queries/TermsFilter.cs
index 8f9e17b..8e13032 100644
--- a/src/Lucene.Net.Queries/TermsFilter.cs
+++ b/src/Lucene.Net.Queries/TermsFilter.cs
@@ -55,7 +55,7 @@ namespace Lucene.Net.Queries
         /// Creates a new <see cref="TermsFilter"/> from the given list. The list
         /// can contain duplicate terms and multiple fields.
         /// </summary>
-        public TermsFilter(List<Term> terms)
+        public TermsFilter(IList<Term> terms)
             : this(new FieldAndTermEnumAnonymousInnerClassHelper(terms), terms.Count)
         {
         }
@@ -64,7 +64,7 @@ namespace Lucene.Net.Queries
         {            
             private IList<Term> terms;
 
-            public FieldAndTermEnumAnonymousInnerClassHelper(List<Term> terms)
+            public FieldAndTermEnumAnonymousInnerClassHelper(IList<Term> terms)
             {
                 if (!terms.Any())
                 {
@@ -94,7 +94,7 @@ namespace Lucene.Net.Queries
         /// Creates a new <see cref="TermsFilter"/> from the given <see cref="BytesRef"/>
list for
         /// a single field.
         /// </summary>
-        public TermsFilter(string field, List<BytesRef> terms) // LUCENENET TODO: Change
to IList<BytesRef>
+        public TermsFilter(string field, IList<BytesRef> terms)
             : this(new FieldAndTermEnumAnonymousInnerClassHelper2(field, terms), terms.Count)
         {
         }
@@ -103,7 +103,7 @@ namespace Lucene.Net.Queries
         {
             private IList<BytesRef> terms;
 
-            public FieldAndTermEnumAnonymousInnerClassHelper2(string field, List<BytesRef>
terms)
+            public FieldAndTermEnumAnonymousInnerClassHelper2(string field, IList<BytesRef>
terms)
                 : base(field)
             {
                 if (!terms.Any())


Mime
View raw message