[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-126) JavaDoc incorrect for parameters

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Fri Mar 29 05:12:41 EDT 2013


     [ https://issues.jboss.org/browse/SHRINKDESC-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger updated SHRINKDESC-126:
---------------------------------------

    Fix Version/s:     (was: 2.0.0-alpha-5)

    
> JavaDoc incorrect for parameters
> --------------------------------
>
>                 Key: SHRINKDESC-126
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-126
>             Project: ShrinkWrap Descriptors
>          Issue Type: Bug
>          Components: metadata-parser
>    Affects Versions: 2.0.0-alpha-3
>            Reporter: Jesper Pedersen
>            Assignee: Michal Matloka
>
> The generated .java files from the metadata-parser gives:
> {noformat}
>   [javadoc] /xyz/build/embedded/src/main/java/org/jboss/jca/embedded/dsl/datasources11/impl/ConfigPropertyTypeImpl.java:58: warning - @param argument "configPropertyType" is not a parameter name.
> {noformat}
> for
> {noformat}
>    /**
>     * Sets the body text for the element <code>config-propertyType</code> 
>     * @param configPropertyType the value for the body text <code>config-propertyType</code> 
>     * @return the current instance of <code>ConfigPropertyType<T></code> 
>     */
>    public ConfigPropertyType<T> text(String value)
>    {
>       childNode.text(value);
>       return this;
>    }
> {noformat}
> It should be 'value' instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list