You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2011/03/17 21:56:29 UTC

[jira] Updated: (CASSANDRA-2352) zero-length strings should result in zero-length ByteBuffers

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

Eric Evans updated CASSANDRA-2352:
----------------------------------

    Attachment: v1-0001-CASSANDRA-2352-AT.fromString-should-return-empty-BB-fo.txt

> zero-length strings should result in zero-length ByteBuffers
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-2352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2352
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API, Core
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>              Labels: cql
>             Fix For: 0.8
>
>         Attachments: v1-0001-CASSANDRA-2352-AT.fromString-should-return-empty-BB-fo.txt
>
>
> The {{o.a.c.db.marshal.AbstractType.fromString()}} methods should return an empty {{ByteBuffer}} when passed a zero-length string, (empty bytes do {{validate()}} properly).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira