Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3605

Exception swallowing in Hex.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • None
    • None
    • None
    • all

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            zolyfarkas Zoltan Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: