lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1571929 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/facet/ lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java
Date Wed, 26 Feb 2014 06:16:31 GMT
Author: rmuir
Date: Wed Feb 26 06:16:31 2014
New Revision: 1571929

URL: http://svn.apache.org/r1571929
Log:
add missing javadoc

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/facet/   (props changed)
    lucene/dev/branches/branch_4x/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java

Modified: lucene/dev/branches/branch_4x/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java?rev=1571929&r1=1571928&r2=1571929&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java
Wed Feb 26 06:16:31 2014
@@ -93,7 +93,7 @@ public class CachedOrdinalsReader extend
     };
   }
 
-  /** Holds the cached ordinals in two paralel {@code int[]} arrays. */
+  /** Holds the cached ordinals in two parallel {@code int[]} arrays. */
   public static final class CachedOrds {
 
     /** Index into {@link #ordinals} for each document. */
@@ -137,6 +137,7 @@ public class CachedOrdinalsReader extend
       }
     }
 
+    /** Returns number of bytes used by this cache entry */
     public long ramBytesUsed() {
       long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.sizeOf(offsets);
       if (offsets != ordinals) {



Mime
View raw message