From c36c4d7264088f20de4321c7e72d9782d66f4e9c Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Wed, 26 Feb 2014 06:13:26 +0000 Subject: [PATCH] add missing javadoc git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571928 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java index 8789deecc49..e6ada5f1809 100644 --- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java +++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/CachedOrdinalsReader.java @@ -93,7 +93,7 @@ public class CachedOrdinalsReader extends OrdinalsReader { }; } - /** 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 extends OrdinalsReader { } } + /** Returns number of bytes used by this cache entry */ public long ramBytesUsed() { long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.sizeOf(offsets); if (offsets != ordinals) {