cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10748) UTF8Validator.validate() wrong ??
Date Thu, 17 Mar 2016 13:36:33 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer updated CASSANDRA-10748:
---------------------------------------
    Component/s: Core

> UTF8Validator.validate() wrong ??
> ---------------------------------
>
>                 Key: CASSANDRA-10748
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10748
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            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)

Mime
View raw message