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

UTF8Validator.validate() wrong ??

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.2.6, 3.0.5, 3.5
    • Legacy/Core
    • None

    Description

      The switch-statement in UTF8Validator.validate() can never go into case TWO_80 as the assignment state = State.TWO_80; in line 75 is dead.

      I assume that the TWO_80 case is completely superfluous - but would like to have a 2nd opinion on this.

      /cc carlyeks (CASSANDRA-4495)

      Attachments

        Activity

          People

            blerer Benjamin Lerer
            snazy Robert Stupp
            Benjamin Lerer
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: