lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [19/46] lucenenet git commit: .NETify Facet: Renamed method from entryIterator() to GetEnumerator()
Date Tue, 04 Oct 2016 20:01:49 GMT
.NETify Facet: Renamed method from entryIterator() to GetEnumerator()


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

Branch: refs/heads/master
Commit: e72d3cbf1fb8a1d2ee76b6d6c311960893daa456
Parents: e0a73b4
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Sep 25 10:43:36 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Mon Oct 3 23:31:16 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs          | 2 +-
 src/Lucene.Net.Facet/Taxonomy/WriterCache/CompactLabelToOrdinal.cs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72d3cbf/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
index 277a166..fd47cd9 100644
--- a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
@@ -182,7 +182,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
             }
         }
 
-        internal virtual IEnumerator<CollisionMap.Entry> entryIterator()
+        internal virtual IEnumerator<CollisionMap.Entry> GetEnumerator()
         {
             return new EntryIterator(this, entries, size);
         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e72d3cbf/src/Lucene.Net.Facet/Taxonomy/WriterCache/CompactLabelToOrdinal.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CompactLabelToOrdinal.cs b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CompactLabelToOrdinal.cs
index 28f93c4..0ea1122 100644
--- a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CompactLabelToOrdinal.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CompactLabelToOrdinal.cs
@@ -208,7 +208,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
             this.collisionMap = new CollisionMap(oldCollisionMap.Capacity(), this.labelRepository);
             this.threshold = (int)(this.capacity * this.loadFactor);
 
-            var it = oldCollisionMap.entryIterator();
+            var it = oldCollisionMap.GetEnumerator();
 
             while (it.MoveNext())
             {


Mime
View raw message