You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by je...@apache.org on 2006/02/08 16:42:46 UTC
svn commit: r375984 - in /lucene/nutch/trunk/src:
java/org/apache/nutch/parse/ java/org/apache/nutch/util/
plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/
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
- * {@link ParsePluginPreferenceList} defined by it.
+ * {@link ParsePluginList} defined by it.
*
- * @return A {@link ParsePluginPreferenceList} specified by the
+ * @return A {@link 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 {@Parser}s
+ * Performs a parse by iterating through a List of preferred {@link Parser}s
* until a successful parse is performed and a {@link 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 {@link 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 {@link Parser}s.
*
* @param contentType The contentType to return the <code>Array</code>
- * of {Parser}s for.
+ * of {@link 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 {@Parser}s for the given contentType.
+ * @return An <code>Array</code> of {@link 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 {@link #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 {@link #getAuthentication(String)} static method
+ * This should have been supplied to the {@link #getAuthentication(String, Configuration)}
+ * static method
*
* @return The realm
*/