Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B81610999 for ; Tue, 17 Dec 2013 03:19:32 +0000 (UTC) Received: (qmail 35662 invoked by uid 500); 17 Dec 2013 03:19:21 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 34064 invoked by uid 500); 17 Dec 2013 03:19:09 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 33917 invoked by uid 99); 17 Dec 2013 03:19:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 03:19:07 +0000 Date: Tue, 17 Dec 2013 03:19:07 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-10168) fix javadoc of ReflectionUtils.copy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Thejas M Nair created HADOOP-10168: -------------------------------------- Summary: fix javadoc of ReflectionUtils.copy Key: HADOOP-10168 URL: https://issues.apache.org/jira/browse/HADOOP-10168 Project: Hadoop Common Issue Type: Bug Reporter: Thejas M Nair Assignee: Thejas M Nair Attachments: HADOOP-10168.1.patch In the javadoc of ReflectionUtils.copy, the return value is not documented, the arguments are named incorrectly. {code} /** * 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 copy(Configuration conf, T src, T dst) throws IOException { {code} -- This message was sent by Atlassian JIRA (v6.1.4#6159)