Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#38 "variable X missing Javadoc" error.

release_2.2
closed
Oliver Burn
5
2012-10-10
2002-04-17
Nick Pellow
No

For the following code snippet:

/* The name of the request attribute .... /
public static final String
AID_VIEW_RELEASE_FDS = "AID_VIEW_RELEASE_FDS";

(NOTE: There is a new line after <tt>String</tt> and
before <tt>AID_VIEW_RELEASE_FDS</tt> )

I get the following checkstyle error:

[checkstyle] release\ReleaseNoteDefn.java:9:
variable 'AID_VIEW_RELEASE_FDS' missing Javadoc.

Clearly, there is a Javadoc comment. When the
new line is removed, the error dissappears.

Discussion

  • Oliver Burn
    Oliver Burn
    2002-04-17

    Logged In: YES
    user_id=218824

    fixed by changing MyVariable to return correct starting
    line.