[ https://issues.apache.org/jira/browse/CASSANDRA-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199339#comment-15199339 ]
Sylvain Lebresne commented on CASSANDRA-10748: ---------------------------------------------- Not a huge UTF8 expert but the change do seems to match the comment pretty well and this makes a lot more sense. +1 unless there is a CI problem of course. > UTF8Validator.validate() wrong ?? > --------------------------------- > > Key: CASSANDRA-10748 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10748 > Project: Cassandra > Issue Type: Bug > Reporter: Robert Stupp > Assignee: Benjamin Lerer > 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)