lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [22/37] lucenenet git commit: Lucene.Net.Codecs.Memory.DirectPostingsFormat.HighFreqDocsEnum refactor: canResuse() > CanReuse()
Date Sun, 29 Jan 2017 13:27:44 GMT
Lucene.Net.Codecs.Memory.DirectPostingsFormat.HighFreqDocsEnum refactor: canResuse() > CanReuse()


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

Branch: refs/heads/api-work
Commit: 6998f2f3457d69cb3518f5369c67ae301ae67375
Parents: b0c227e
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Jan 29 16:07:37 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Jan 29 17:10:24 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6998f2f3/src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs b/src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs
index df0807a..e49bc0e 100644
--- a/src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs
+++ b/src/Lucene.Net.Codecs/Memory/DirectPostingsFormat.cs
@@ -1082,7 +1082,7 @@ namespace Lucene.Net.Codecs.Memory
                         if (reuse is HighFreqDocsEnum)
                         {
                             docsEnum = (HighFreqDocsEnum) reuse;
-                            if (!docsEnum.canReuse(liveDocs))
+                            if (!docsEnum.CanReuse(liveDocs))
                             {
                                 docsEnum = new HighFreqDocsEnum(liveDocs);
                             }
@@ -2267,7 +2267,7 @@ namespace Lucene.Net.Codecs.Memory
                 this.liveDocs = liveDocs;
             }
 
-            public bool canReuse(IBits liveDocs) // LUCENENET TODO: Rename CanReuse()
+            public bool CanReuse(IBits liveDocs)
             {
                 return liveDocs == this.liveDocs;
             }


Mime
View raw message