Skip to content

Apache Lucene open-source search software

LUCENE-5699 - fixed javadoc

Tommaso Teofilica74c147c64b
diff --git a/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java b/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java
index 5a99cef09d2..c5a68f288d1 100644
--- a/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java
+++ b/lucene/classification/src/java/org/apache/lucene/classification/SimpleNaiveBayesClassifier.java
@@ -221,7 +221,7 @@ public class SimpleNaiveBayesClassifier implements Classifier<BytesRef> {
* tokenize a <code>String</code> on this classifier's text fields and analyzer
*
* @param doc the <code>String</code> representing an input text (to be classified)
- * @return
+ * @return a <code>String</code> array of the resulting tokens
* @throws IOException
*/
protected String[] tokenizeDoc(String doc) throws IOException {