Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 20780 invoked from network); 17 Mar 2011 20:56:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Mar 2011 20:56:54 -0000 Received: (qmail 24921 invoked by uid 500); 17 Mar 2011 20:56:53 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 24903 invoked by uid 500); 17 Mar 2011 20:56:53 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 24895 invoked by uid 99); 17 Mar 2011 20:56:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 20:56:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 20:56:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B40F63AEABE for ; Thu, 17 Mar 2011 20:56:29 +0000 (UTC) Date: Thu, 17 Mar 2011 20:56:29 +0000 (UTC) From: "Eric Evans (JIRA)" To: commits@cassandra.apache.org Message-ID: <2080645438.10075.1300395389733.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <573825324.10074.1300395389705.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (CASSANDRA-2352) zero-length strings should result in zero-length ByteBuffers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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