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

Correct javadoc for getRandomizedTempPath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • common
    • None

    Description

      getRandomizedTempPath has incorrect javadoc where the javadoc specifies a parameter to the function however the function doesnt expects one.

        /**
         * Get a temp path. This may or may not be relative; it depends on what the
         * {@link #SYSPROP_TEST_DATA_DIR} is set to. If unset, it returns a path
         * under the relative path {@link #DEFAULT_TEST_DATA_PATH}
         * @param subpath sub path, with no leading "/" character
         * @return a string to use in paths
         */
        public static String getRandomizedTempPath() {
          return getTempPath(RandomStringUtils.randomAlphanumeric(10));
        }
      

      Attachments

        1. HADOOP-14674.001.patch
          0.9 kB
          Mukul Kumar Singh
        2. HADOOP-14674.002.patch
          0.9 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: