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

Ralf Battenfeld (JIRA) jira-events at lists.jboss.org
Thu May 2 13:25:53 EDT 2013


    [ https://issues.jboss.org/browse/SHRINKDESC-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771720#comment-12771720 ] 

Ralf Battenfeld commented on SHRINKDESC-126:
--------------------------------------------

Hi Michal

Jesper is asking for this to be fixed in the 2.0.0-X branch. DO you have time to fix it?

Tx,
Ralf
                
> 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