Author: jerome
Date: Wed Feb 8 07:42:44 2006
New Revision: 375984
URL: http://svn.apache.org/viewcvs?rev=375984&view=rev
Log:
Fix some javadoc errors and warnings
Modified:
lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParsePluginsReader.java
lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseUtil.java
lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParserFactory.java
lucene/nutch/trunk/src/java/org/apache/nutch/util/StringUtil.java
lucene/nutch/trunk/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java
Modified:
lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParsePluginsReader.java
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParsePluginsReader.java?rev=375984&r1=375983&r2=375984&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParsePluginsReader.java
(original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParsePluginsReader.java
Wed Feb 8 07:42:44 2006
@@ -64,9 +64,9 @@
/**
* Reads the <code>parse-plugins.xml</code> file and returns the
- * [EMAIL PROTECTED] ParsePluginPreferenceList} defined by it.
+ * [EMAIL PROTECTED] ParsePluginList} defined by it.
*
- * @return A [EMAIL PROTECTED] ParsePluginPreferenceList} specified by the
+ * @return A [EMAIL PROTECTED] ParsePluginList} specified by the
* <code>parse-plugins.xml</code> file.
* @throws Exception
* If any parsing error occurs.
Modified: lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseUtil.java
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseUtil.java?rev=375984&r1=375983&r2=375984&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseUtil.java (original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseUtil.java Wed Feb
8 07:42:44 2006
@@ -51,7 +51,7 @@
}
/**
- * Performs a parse by iterating through a List of preferred [EMAIL
PROTECTED]
+ * Performs a parse by iterating through a List of preferred [EMAIL
PROTECTED] Parser}s
* until a successful parse is performed and a [EMAIL PROTECTED] Parse}
object is
* returned. If the parse is unsuccessful, a message is logged to the
* <code>WARNING</code> level, and an empty parse is returned.
Modified: lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParserFactory.java
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParserFactory.java?rev=375984&r1=375983&r2=375984&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParserFactory.java
(original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParserFactory.java Wed
Feb 8 07:42:44 2006
@@ -106,13 +106,13 @@
*
* The function consults the internal [EMAIL PROTECTED] ParsePluginList} for
the
* ParserFactory to determine the list of pluginIds, then gets the
- * appropriate extension points to instantiate as {Parser}s.
+ * appropriate extension points to instantiate as [EMAIL PROTECTED] Parser}s.
*
* @param contentType The contentType to return the <code>Array</code>
- * of {Parser}s for.
+ * of [EMAIL PROTECTED] Parser}s for.
* @param url The url for the content that may allow us to get the type from
* the file suffix.
- * @return An <code>Array</code> of [EMAIL PROTECTED] for the given
contentType.
+ * @return An <code>Array</code> of [EMAIL PROTECTED] Parser}s for the given
contentType.
* If there were plugins mapped to a contentType via the
* <code>parse-plugins.xml</code> file, but never enabled via
* the <code>plugin.includes</code> Nutch conf, then those plugins
Modified: lucene/nutch/trunk/src/java/org/apache/nutch/util/StringUtil.java
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/util/StringUtil.java?rev=375984&r1=375983&r2=375984&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/util/StringUtil.java (original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/util/StringUtil.java Wed Feb
8 07:42:44 2006
@@ -57,7 +57,6 @@
* Convenience call for [EMAIL PROTECTED] #toHexString(byte[], String,
int)}, where
* <code>sep = null; lineLen = Integer.MAX_VALUE</code>.
* @param buf
- * @return
*/
public static String toHexString(byte[] buf) {
return toHexString(buf, null, Integer.MAX_VALUE);
Modified:
lucene/nutch/trunk/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java
URL:
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java?rev=375984&r1=375983&r2=375984&view=diff
==============================================================================
---
lucene/nutch/trunk/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java
(original)
+++
lucene/nutch/trunk/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java
Wed Feb 8 07:42:44 2006
@@ -111,7 +111,8 @@
/**
* Gets the realm attribute of the HttpBasicAuthentication object.
- * This should have been supplied to the [EMAIL PROTECTED]
#getAuthentication(String)} static method
+ * This should have been supplied to the [EMAIL PROTECTED]
#getAuthentication(String, Configuration)}
+ * static method
*
* @return The realm
*/