You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2014/08/08 23:32:00 UTC
svn commit: r1616886 -
/lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
Author: tommaso
Date: Fri Aug 8 21:32:00 2014
New Revision: 1616886
URL: http://svn.apache.org/r1616886
Log:
LUCENE-5878 - added private constructor to avoid documentation-lint complains
Modified:
lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
Modified: lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java?rev=1616886&r1=1616885&r2=1616886&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java (original)
+++ lucene/dev/trunk/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java Fri Aug 8 21:32:00 2014
@@ -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