hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11857) Fix CommandFormat#commandFormat java doc annotation
Date Mon, 27 Apr 2015 01:36:38 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jakob Homan updated HADOOP-11857:
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

+1.  I've committed this.  Resolving.  Thanks, J.Andreina!

> Fix CommandFormat#commandFormat java doc annotation
> ---------------------------------------------------
>
>                 Key: HADOOP-11857
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11857
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Xiaoyu Yao
>            Assignee: J.Andreina
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-11857.1.patch
>
>
> The first parameter name does not match with the javadoc.
> {code} 
>  /**
>    * @deprecated use replacement since name is an unused parameter
>    * @param name of command, but never used
>    * @param min see replacement
>    * @param max see replacement
>    * @param possibleOpt see replacement
>    * @see #CommandFormat(int, int, String...)
>    */
>   @Deprecated
>   public CommandFormat(String n, int min, int max, String ... possibleOpt) {
>     this(min, max, possibleOpt);
>   }
> {code}



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

Mime
View raw message