You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2016/04/02 01:17:25 UTC

[jira] [Commented] (YARN-4657) Javadoc comment is broken for o.a.h.yarn.util.resource.Resources.multiplyByAndAddTo()

    [ https://issues.apache.org/jira/browse/YARN-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222515#comment-15222515 ] 

Karthik Kambatla commented on YARN-4657:
----------------------------------------

+1, checking this in. 

> Javadoc comment is broken for o.a.h.yarn.util.resource.Resources.multiplyByAndAddTo()
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-4657
>                 URL: https://issues.apache.org/jira/browse/YARN-4657
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Trivial
>         Attachments: YARN-4657.001.patch
>
>
> The comment is
> {code}
>   /**
>    * Multiply @param rhs by @param by, and add the result to @param lhs
>    * without creating any new {@link Resource} object
>    */
> {code}
> The {{@param}} tag can't be used that way.  {{\{@code rhs\}}} is the correct thing to do.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)