Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-5878 - added private constructor to avoid documentation-lint complains

Tommaso Teofili1ca2ef7eb320
diff --git a/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java b/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
index dd91c2aaef7..1c29255b526 100644
--- a/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
+++ b/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
@@ -27,6 +27,10 @@ import java.io.IOException;
*/
public class DocToDoubleVectorUtils {
+ private DocToDoubleVectorUtils() {
+ // no public constructors
+ }
+
/**
* create a sparse <code>Double</code> vector given doc and field term vectors using local frequency of the terms in the doc
* @param docTerms term vectors for a given document