You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/03/25 06:11:24 UTC

[10/11] lucenenet git commit: Lucene.Net.Core.Index.IndexFileDeleter: Corrected casing String > string

Lucene.Net.Core.Index.IndexFileDeleter: Corrected casing String > string


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

Branch: refs/heads/api-work
Commit: 9e5a8c9c6f812677d523313d62886e77bd37d025
Parents: 8221ff2
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sat Mar 25 11:08:52 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sat Mar 25 11:08:52 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/IndexFileDeleter.cs | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9e5a8c9c/src/Lucene.Net.Core/Index/IndexFileDeleter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/IndexFileDeleter.cs b/src/Lucene.Net.Core/Index/IndexFileDeleter.cs
index fa934b9..1d1b8df 100644
--- a/src/Lucene.Net.Core/Index/IndexFileDeleter.cs
+++ b/src/Lucene.Net.Core/Index/IndexFileDeleter.cs
@@ -345,7 +345,7 @@ namespace Lucene.Net.Index
                     {
                         infoStream.Message("IFD", "deleteCommits: now decRef commit \"" + commit.SegmentsFileName + "\"");
                     }
-                    foreach (String file in commit.files)
+                    foreach (string file in commit.files)
                     {
                         DecRef(file);
                     }
@@ -562,7 +562,7 @@ namespace Lucene.Net.Index
             Debug.Assert(IsLocked);
             // If this is a commit point, also incRef the
             // segments_N file:
-            foreach (String fileName in segmentInfos.Files(directory, isCommit))
+            foreach (string fileName in segmentInfos.Files(directory, isCommit))
             {
                 IncRef(fileName);
             }
@@ -571,7 +571,7 @@ namespace Lucene.Net.Index
         internal void IncRef(ICollection<string> files)
         {
             Debug.Assert(IsLocked);
-            foreach (String file in files)
+            foreach (string file in files)
             {
                 IncRef(file);
             }
@@ -594,7 +594,7 @@ namespace Lucene.Net.Index
         internal void DecRef(ICollection<string> files)
         {
             Debug.Assert(IsLocked);
-            foreach (String file in files)
+            foreach (string file in files)
             {
                 DecRef(file);
             }
@@ -623,7 +623,7 @@ namespace Lucene.Net.Index
         internal void DecRef(SegmentInfos segmentInfos)
         {
             Debug.Assert(IsLocked);
-            foreach (String file in segmentInfos.Files(directory, false))
+            foreach (string file in segmentInfos.Files(directory, false))
             {
                 DecRef(file);
             }
@@ -661,7 +661,7 @@ namespace Lucene.Net.Index
         internal void DeleteFiles(IList<string> files)
         {
             Debug.Assert(IsLocked);
-            foreach (String file in files)
+            foreach (string file in files)
             {
                 DeleteFile(file);
             }
@@ -674,7 +674,7 @@ namespace Lucene.Net.Index
         internal void DeleteNewFiles(ICollection<string> files)
         {
             Debug.Assert(IsLocked);
-            foreach (String fileName in files)
+            foreach (string fileName in files)
             {
                 // NOTE: it's very unusual yet possible for the
                 // refCount to be present and 0: it can happen if you