You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2015/11/22 11:05:11 UTC

[jira] [Created] (CASSANDRA-10748) UTF8Validator.validate() wrong ??

Robert Stupp created CASSANDRA-10748:
----------------------------------------

             Summary: UTF8Validator.validate() wrong ??
                 Key: CASSANDRA-10748
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10748
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
            Priority: Minor


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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)