Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B3A24200B48 for ; Mon, 4 Jul 2016 07:56:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B253D160A71; Mon, 4 Jul 2016 05:56:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2B464160A6B for ; Mon, 4 Jul 2016 07:56:12 +0200 (CEST) Received: (qmail 86469 invoked by uid 500); 4 Jul 2016 05:56:11 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 86449 invoked by uid 99); 4 Jul 2016 05:56:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2016 05:56:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECE972C02A4 for ; Mon, 4 Jul 2016 05:56:10 +0000 (UTC) Date: Mon, 4 Jul 2016 05:56:10 +0000 (UTC) From: "shenyinjie (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-10589) Javadoc for HAState#HAState() and HAState#setStateInternal() contains non-exsitent params MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Jul 2016 05:56:12 -0000 [ https://issues.apache.org/jira/browse/HDFS-10589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] shenyinjie updated HDFS-10589: ------------------------------ Attachment: HDFS-10589_1.patch fix checkstyle > Javadoc for HAState#HAState() and HAState#setStateInternal() contains non-exsitent params > ----------------------------------------------------------------------------------------- > > Key: HDFS-10589 > URL: https://issues.apache.org/jira/browse/HDFS-10589 > Project: Hadoop HDFS > Issue Type: Bug > Components: documentation, hdfs > Affects Versions: 2.8.0 > Environment: centos6.5 x64 > hadoop 2.8.0 > Reporter: shenyinjie > Assignee: shenyinjie > Priority: Minor > Attachments: HDFS-10589.patch, HDFS-10589_1.patch > > > Javadoc for HAState#HAState()) contains @param name, but this constructor doesn't has the parameter, HAState#setStateInternal() has the same problem, and the annotation is not quite accurate, which is confusing for beginners. > So I made a simple fix. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org