You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2016/03/17 14:05:33 UTC
[jira] [Updated] (CASSANDRA-10748) UTF8Validator.validate() wrong
??
[ https://issues.apache.org/jira/browse/CASSANDRA-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Lerer updated CASSANDRA-10748:
---------------------------------------
Reviewer: Sylvain Lebresne
Fix Version/s: 3.5
3.0.5
2.2.6
Status: Patch Available (was: Open)
> 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
> Fix For: 2.2.6, 3.0.5, 3.5
>
>
> 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)