lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [26/50] [abbrv] lucenenet git commit: Lucene.Net.Core.Documents.Document: Changed Fields property from List<T> to IList<T>
Date Tue, 31 Jan 2017 17:55:59 GMT
Lucene.Net.Core.Documents.Document: Changed Fields property 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/3090f3af
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/3090f3af
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/3090f3af

Branch: refs/heads/api-work
Commit: 3090f3af410def0ccdefa945b6891833a4335cc8
Parents: 5b1c8d2
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Jan 31 14:39:31 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Jan 31 14:39:31 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Document/Document.cs               | 2 +-
 src/Lucene.Net.Tests/core/Index/TestStressIndexing2.cs | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3090f3af/src/Lucene.Net.Core/Document/Document.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Document/Document.cs b/src/Lucene.Net.Core/Document/Document.cs
index 8a4fe48..09d0a89 100644
--- a/src/Lucene.Net.Core/Document/Document.cs
+++ b/src/Lucene.Net.Core/Document/Document.cs
@@ -214,7 +214,7 @@ namespace Lucene.Net.Documents
         /// index, e.g. <seealso cref="IndexSearcher#doc(int)"/> or {@link
         /// IndexReader#document(int)}.</p>
         /// </summary>
-        public List<IIndexableField> Fields
+        public IList<IIndexableField> Fields
         {
             get
             {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3090f3af/src/Lucene.Net.Tests/core/Index/TestStressIndexing2.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestStressIndexing2.cs b/src/Lucene.Net.Tests/core/Index/TestStressIndexing2.cs
index 043471c..0135b61 100644
--- a/src/Lucene.Net.Tests/core/Index/TestStressIndexing2.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestStressIndexing2.cs
@@ -673,8 +673,8 @@ namespace Lucene.Net.Index
 
         public static void VerifyEquals(Document d1, Document d2)
         {
-            List<IIndexableField> ff1 = d1.Fields;
-            List<IIndexableField> ff2 = d2.Fields;
+            IList<IIndexableField> ff1 = d1.Fields;
+            IList<IIndexableField> ff2 = d2.Fields;
 
             ff1.Sort(fieldNameComparer);
             ff2.Sort(fieldNameComparer);


Mime
View raw message