From a0437dab0345fd0f0dc504a8d5f0b808a1318374 Mon Sep 17 00:00:00 2001 From: Doron Cohen Date: Wed, 9 May 2007 21:49:01 +0000 Subject: [PATCH] clean few javadoc warnings that showed up as javadocs are built for a few more contrib paths. (LUCENE-875 related). git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536668 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/store/je/JEDirectory.java | 2 +- .../bdb/src/java/org/apache/lucene/store/db/DbDirectory.java | 2 +- .../org/apache/lucene/search/similar/MoreLikeThisQuery.java | 1 - .../src/java/org/apache/lucene/xmlparser/DOMUtils.java | 4 ++-- .../apache/lucene/xmlparser/builders/TermsFilterBuilder.java | 2 -- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/contrib/db/bdb-je/src/java/org/apache/lucene/store/je/JEDirectory.java b/contrib/db/bdb-je/src/java/org/apache/lucene/store/je/JEDirectory.java index 4bf54d683d4..f01e594dd07 100644 --- a/contrib/db/bdb-je/src/java/org/apache/lucene/store/je/JEDirectory.java +++ b/contrib/db/bdb-je/src/java/org/apache/lucene/store/je/JEDirectory.java @@ -99,7 +99,7 @@ public class JEDirectory extends Directory { * to commit the transaction without closing this DbDirectory instance * first. * - * @see setTransaction + * @see #setTransaction */ public void flush() throws IOException { Iterator iterator = openFiles.iterator(); diff --git a/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java b/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java index f1abdaa15ce..57bca8581ea 100644 --- a/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java +++ b/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java @@ -108,7 +108,7 @@ public class DbDirectory extends Directory { * Flush the currently open files. After they have been flushed it is * safe to commit the transaction without closing this DbDirectory * instance first. - * @see setTransaction + * @see #setTransaction */ public void flush() throws IOException diff --git a/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java b/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java index 4358656c9d7..3a5b964999b 100644 --- a/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java +++ b/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java @@ -34,7 +34,6 @@ public class MoreLikeThisQuery extends Query /** - * @param docId * @param moreLikeFields */ public MoreLikeThisQuery(String likeText, String[] moreLikeFields, Analyzer analyzer) diff --git a/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java b/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java index 66e7e09718a..285b3f84364 100644 --- a/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java +++ b/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java @@ -237,8 +237,8 @@ public class DOMUtils } /** - * Helper method to parse an XML file into a DOM tree, given a filename. - * @param pXmlFile name of the XML file to be parsed + * Helper method to parse an XML file into a DOM tree, given a reader. + * @param is reader of the XML file to be parsed * @return an org.w3c.dom.Document object */ public static Document loadXML(Reader is) diff --git a/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java b/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java index 14b5ff2a305..adb2bb612f3 100644 --- a/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java +++ b/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java @@ -32,8 +32,6 @@ import org.w3c.dom.Element; */ /** * @author maharwood - * - * @ */ public class TermsFilterBuilder implements FilterBuilder {