cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Farkas (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3605) Exception swallowing in Hex.java
Date Sat, 10 Dec 2011 12:51:39 GMT

     [ 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

        

Mime
View raw message