[JBoss JIRA] (SHRINKDESC-126) JavaDoc incorrect for parameters
by Ralf Battenfeld (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-126?page=com.atlassian.jira.pl... ]
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