Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6060BD8AE for ; Wed, 15 Aug 2012 17:18:39 +0000 (UTC) Received: (qmail 11083 invoked by uid 500); 15 Aug 2012 17:18:39 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 11000 invoked by uid 500); 15 Aug 2012 17:18:39 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 10798 invoked by uid 99); 15 Aug 2012 17:18:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2012 17:18:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 43DA12C5BEB for ; Wed, 15 Aug 2012 17:18:38 +0000 (UTC) Date: Thu, 16 Aug 2012 04:18:38 +1100 (NCT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <638193221.14657.1345051118278.JavaMail.jiratomcat@arcas> In-Reply-To: <1966716631.12510.1345025438211.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-8700) Move the checksum type constants to an enum MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-8700: ------------------------------------------- Attachment: c8700_20120815b.patch c8700_20120815b.patch: keep some int constants since javah cannot understand enum values > Move the checksum type constants to an enum > ------------------------------------------- > > Key: HADOOP-8700 > URL: https://issues.apache.org/jira/browse/HADOOP-8700 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Priority: Minor > Attachments: c8700_20120815b.patch, c8700_20120815.patch > > > In DataChecksum, there are constants for crc types, crc names and crc sizes. We should move them to an enum for better coding style. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira