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

Fix mismatch parameter name in javadocs of AuthToken#setMaxInactives

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: