lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [13/28] lucenenet git commit: Lucene.Net.Highlighter.VectorHighlight.FieldFragList refactor: changed parameter and return types from List<T> to IList<T>
Date Wed, 01 Feb 2017 10:22:10 GMT
Lucene.Net.Highlighter.VectorHighlight.FieldFragList refactor: changed parameter 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/a755a13f
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/a755a13f
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/a755a13f

Branch: refs/heads/api-work
Commit: a755a13f18e5b98d3347a6e2e09318aa51f8c97b
Parents: 8706ebb
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 14:07:33 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 14:07:33 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Highlighter/VectorHighlight/FieldFragList.cs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a755a13f/src/Lucene.Net.Highlighter/VectorHighlight/FieldFragList.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Highlighter/VectorHighlight/FieldFragList.cs b/src/Lucene.Net.Highlighter/VectorHighlight/FieldFragList.cs
index 8ca9341..5d7f44b 100644
--- a/src/Lucene.Net.Highlighter/VectorHighlight/FieldFragList.cs
+++ b/src/Lucene.Net.Highlighter/VectorHighlight/FieldFragList.cs
@@ -60,12 +60,12 @@ namespace Lucene.Net.Search.VectorHighlight
         /// </summary>
         public class WeightedFragInfo
         {
-            private List<SubInfo> subInfos;
+            private IList<SubInfo> subInfos;
             private float totalBoost;
             private int startOffset;
             private int endOffset;
 
-            public WeightedFragInfo(int startOffset, int endOffset, List<SubInfo> subInfos,
float totalBoost)
+            public WeightedFragInfo(int startOffset, int endOffset, IList<SubInfo>
subInfos, float totalBoost)
             {
                 this.startOffset = startOffset;
                 this.endOffset = endOffset;
@@ -73,7 +73,7 @@ namespace Lucene.Net.Search.VectorHighlight
                 this.subInfos = subInfos;
             }
 
-            public List<SubInfo> SubInfos
+            public IList<SubInfo> SubInfos
             {
                 get { return subInfos; }
             }


Mime
View raw message