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

fix javadoc of ReflectionUtils.copy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None
    • Reviewed

    Description

      In the javadoc of ReflectionUtils.copy, the return value is not documented, the arguments are named incorrectly.

        /**                                                                                                                                                                                                                                                                
         * Make a copy of the writable object using serialization to a buffer                                                                                                                                                                                              
         * @param dst the object to copy from                                                                                                                                                                                                                              
         * @param src the object to copy into, which is destroyed                                                                                                                                                                                                          
         * @throws IOException                                                                                                                                                                                                                                             
         */
        @SuppressWarnings("unchecked")
        public static <T> T copy(Configuration conf,
                                      T src, T dst) throws IOException {
      

      Attachments

        1. HADOOP-10168.1.patch
          0.9 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: