Issue Details (XML | Word | Printable)

Key: NUTCH-390
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Chris A. Mattmann
Reporter: nutch.newbie
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Nutch

Javadoc warnings

Created: 24/Oct/06 01:58 PM   Updated: 30/Jan/07 05:58 AM
Return to search
Component/s: None
Affects Version/s: 0.9.0
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Environment: Linux Fedora

Resolution Date: 30/Jan/07 05:57 AM


 Description  « Hide
Warnings aren't so good even if it build's successfully.

[javadoc] Building tree for all the packages and classes...
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/net/URLNormalizers.java:74: warning - Tag @link: reference not found: org.apache.nutch.net.urlnormalizer.pass.PassURLNormalizer
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/net/URLNormalizers.java:273: warning - @return tag has no arguments.
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/plugin/PluginManifestParser.java:73: warning - @return tag has no arguments.
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/protocol/ProtocolFactory.java:37: warning - Missing closing '}' character for inline tag: "{@link Protocol#X_POINT_ID)."
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/protocol/ProtocolFactory.java:64: warning - @return tag has no arguments.
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/scoring/ScoringFilter.java:139: warning - Tag @param cannot be used in inline documentation. It can only be used in the following types of documentation: class/interface, constructor, method.
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/scoring/ScoringFilter.java:139: warning - Tag @param cannot be used in inline documentation. It can only be used in the following types of documentation: class/interface, constructor, method.
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/util/DomUtil.java:51: warning - @return tag has no arguments.
[javadoc] /usr/local/src/nutch-0.9/src/java/org/apache/nutch/scoring/ScoringFilter.java:139: warning - Tag @param cannot be used in inline documentation. It can only be used in the following types of documentation: class/interface, constructor, method.
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] Generating /usr/local/src/nutch-0.9/build/docs/api/stylesheet.css...
[javadoc] 10 warnings
[copy] Copying 1 file to /usr/local/src/nutch-0.9/build/docs/api/org/apache/nutch/plugin/doc-files



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Chris A. Mattmann made changes - 24/Nov/06 06:27 PM
Field Original Value New Value
Assignee Chris A. Mattmann [ chrismattmann ]
nutch.newbie added a comment - 25/Nov/06 03:28 AM
and some more cleanup that comes with building plugins.....

[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details

its just confusing nothing more.

regards


Chris A. Mattmann made changes - 30/Jan/07 05:54 AM
Status Open [ 1 ] In Progress [ 3 ]
Repository Revision Date User Message
ASF #501315 Tue Jan 30 05:55:03 UTC 2007 mattmann Fix for NUTCH-390 Javadoc warnings
Files Changed
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/scoring/ScoringFilter.java
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/util/DomUtil.java
MODIFY /lucene/nutch/trunk/src/plugin/ontology/lib/commons-logging-1.0.3.jar
MODIFY /lucene/nutch/trunk/lib/commons-logging-1.0.4.jar
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/net/URLNormalizers.java
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/plugin/PluginManifestParser.java
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/segment/SegmentPart.java
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/protocol/ProtocolFactory.java
MODIFY /lucene/nutch/trunk/CHANGES.txt

Chris A. Mattmann added a comment - 30/Jan/07 05:57 AM
I've fixed this issue in the trunk. I had to modify the existing commons-logging-1.4.0 and 1.3.0 jars within nutch/lib and within nutch/src/plugin/ontology/lib. Turns out that if you include the package.html file within the jar file, Javadoc gets confused as to which one it should use. That was the only real gotcha. This should address all the javadoc warnings that were being generated.

Chris A. Mattmann made changes - 30/Jan/07 05:57 AM
Fix Version/s 0.9.0 [ 12312013 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Chris A. Mattmann added a comment - 30/Jan/07 05:58 AM

Chris A. Mattmann made changes - 30/Jan/07 05:58 AM
Status Resolved [ 5 ] Closed [ 6 ]