Bug 49369 - Javadoc warning not raised for missing @return in certain cases.
Summary: Javadoc warning not raised for missing @return in certain cases.
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-28 20:31 EST by Gary Gregory CLA
Modified: 2004-01-06 12:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Gregory CLA 2003-12-28 20:31:38 EST
For example:

    /**
     * <p>Appends with the same format as the default <code>Object toString()
     * </code> method. Appends the class name followed by 
     * {@link System#identityHashCode(java.lang.Object)}.</p>
     * 
     * @param object  the <code>Object</code> whose class name and id to output
     * @since 2.0
     */
    public ToStringBuilder appendAsObjectToString(Object object) {
        ObjectUtils.appendIdentityToString(this.getStringBuffer(), object);
        return this;
    }

Does not raise any warnings. There 100 other warnings in the file, some for
missing return tags.

Version 3.0.m6.
The above is from
http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringStyle.java?rev=1.28
Comment 1 Olivier Thomann CLA 2004-01-02 12:15:43 EST
Are you sure that this warning is not reported due to the fact that the maximum
of warnings is returned to that file?
Change the maximum value from 100 to a higher value.
Comment 2 Gary Gregory CLA 2004-01-02 12:51:40 EST
Arg, you are correct.
Comment 3 Philipe Mulet CLA 2004-01-06 12:58:47 EST
Closing then.