lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [06/50] [abbrv] lucenenet git commit: Lucene.Net.Facet.Taxonomy.WriterCache.CharBlockArray: Renamed length_Renamed > length, commented serialVersionUID
Date Sat, 09 Sep 2017 00:31:24 GMT
Lucene.Net.Facet.Taxonomy.WriterCache.CharBlockArray: Renamed length_Renamed > length, commented
serialVersionUID


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

Branch: refs/heads/master
Commit: 04864576d1f08f6a87776c7178282e17aff97540
Parents: 8cc4116
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Sep 1 00:17:41 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Sep 1 00:17:41 2017 +0700

----------------------------------------------------------------------
 .../Taxonomy/WriterCache/CharBlockArray.cs            | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/04864576/src/Lucene.Net.Facet/Taxonomy/WriterCache/CharBlockArray.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CharBlockArray.cs b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CharBlockArray.cs
index 5f2be59..d70c225 100644
--- a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CharBlockArray.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CharBlockArray.cs
@@ -42,7 +42,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
 #endif
     public class CharBlockArray : ICharSequence
     {
-        private const long serialVersionUID = 1L;
+        //private const long serialVersionUID = 1L; // LUCENENET: Not used
 
         private const int DEFAULT_BLOCK_SIZE = 32 * 1024; // 32 KB default size
 
@@ -51,7 +51,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
 #endif
         internal sealed class Block
         {
-            internal const long serialVersionUID = 1L;
+            //internal const long serialVersionUID = 1L; // LUCENENET: Not used
 
             internal readonly char[] chars;
             internal int length;
@@ -74,7 +74,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
         internal IList<Block> blocks;
         internal Block current;
         internal int blockSize;
-        internal int length_Renamed;
+        internal int length;
 
         public CharBlockArray()
             : this(DEFAULT_BLOCK_SIZE)
@@ -116,7 +116,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
                 AddBlock();
             }
             this.current.chars[this.current.length++] = c;
-            this.length_Renamed++;
+            this.length++;
 
             return this;
         }
@@ -153,7 +153,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
                 this.current.length += toCopy;
             }
 
-            this.length_Renamed += length;
+            this.length += length;
             return this;
         }
 
@@ -179,7 +179,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
                 this.current.length += toCopy;
             }
 
-            this.length_Renamed += s.Length;
+            this.length += s.Length;
             return this;
         }
 
@@ -204,7 +204,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
         {
             get
             {
-                return this.length_Renamed;
+                return this.length;
             }
         }
 


Mime
View raw message