Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 338D69675 for ; Sat, 10 Dec 2011 12:52:03 +0000 (UTC) Received: (qmail 59856 invoked by uid 500); 10 Dec 2011 12:52:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 59834 invoked by uid 500); 10 Dec 2011 12:52:03 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 59826 invoked by uid 99); 10 Dec 2011 12:52:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 12:52:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 12:52:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F0E0D10BC30 for ; Sat, 10 Dec 2011 12:51:39 +0000 (UTC) Date: Sat, 10 Dec 2011 12:51:39 +0000 (UTC) From: "Zoltan Farkas (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <991395870.61615.1323521499987.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <645245157.61085.1323481720007.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3605) Exception swallowing in Hex.java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zoltan Farkas updated CASSANDRA-3605: ------------------------------------- Issue Type: Improvement (was: Bug) > Exception swallowing in Hex.java > -------------------------------- > > Key: CASSANDRA-3605 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3605 > Project: Cassandra > Issue Type: Improvement > Affects Versions: 1.0.5 > Environment: all > Reporter: Zoltan Farkas > Priority: Minor > > org.apache.cassandra.utils.Hex line 94: > try > { > s = stringConstructor.newInstance(0, c.length, c); > } > catch (Exception e) > { > // Swallowing as we'll just use a copying constructor > } > this code does not comply with coding standard, caught exception needs to be rethrown as RuntimeException -- 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