Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12347

Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      This was introduced by HADOOP-12050 as evident in the build errors:

      <https://builds.apache.org/job/Hadoop-common-trunk-Java8/ws/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/AuthToken.java>:101: warning: no @param for interval
        public void setMaxInactives(long interval) {
                    ^
      <https://builds.apache.org/job/Hadoop-common-trunk-Java8/ws/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationToken.java>:65: error: @param name not found
         * @param max inactive time of the token in milliseconds since the epoch.
      

      Attachments

        1. HADOOP-12347.00.patch
          0.9 kB
          Xiaoyu Yao

        Activity

          People

            xyao Xiaoyu Yao
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: