Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

make CategoryPathUtils package-private (fix documentation-lint complaints)

Shai Ererac2ccab114d75
diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/CategoryPathUtils.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/CategoryPathUtils.java
index 74007d9e908..2ceff4c11ab 100644
--- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/CategoryPathUtils.java
+++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/CategoryPathUtils.java
@@ -20,7 +20,7 @@ import org.apache.lucene.facet.taxonomy.CategoryPath;
*/
/** Utilities for use of {@link CategoryPath} by {@link CompactLabelToOrdinal}. */
-public class CategoryPathUtils {
+class CategoryPathUtils {
/** Serializes the given {@link CategoryPath} to the {@link CharBlockArray}. */
public static void serialize(CategoryPath cp, CharBlockArray charBlockArray) {
@@ -35,7 +35,7 @@ public class CategoryPathUtils {
}
/**
- * Calculates a hash function of a path that serialized with
+ * Calculates a hash function of a path that was serialized with
* {@link #serialize(CategoryPath, CharBlockArray)}.
*/
public static int hashCodeOfSerialized(CharBlockArray charBlockArray, int offset) {