Return-Path: X-Original-To: apmail-gora-commits-archive@www.apache.org Delivered-To: apmail-gora-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FFC9115A8 for ; Thu, 31 Jul 2014 11:13:11 +0000 (UTC) Received: (qmail 11644 invoked by uid 500); 31 Jul 2014 11:13:11 -0000 Delivered-To: apmail-gora-commits-archive@gora.apache.org Received: (qmail 11609 invoked by uid 500); 31 Jul 2014 11:13:11 -0000 Mailing-List: contact commits-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list commits@gora.apache.org Received: (qmail 11600 invoked by uid 99); 31 Jul 2014 11:13:11 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2014 11:13:11 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0BE049BB6FA; Thu, 31 Jul 2014 11:13:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: lewismc@apache.org To: commits@gora.apache.org Date: Thu, 31 Jul 2014 11:13:11 -0000 Message-Id: <554d9ecfa5c7451caeae2e57033c6ae7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: GORA-189 > Embrace all text-like parameters in generated Persistent subclasses by Compiler CharSequence Repository: gora Updated Branches: refs/heads/master 86d8f8f13 -> 22b5cf8e5 GORA-189 > Embrace all text-like parameters in generated Persistent subclasses by Compiler CharSequence Project: http://git-wip-us.apache.org/repos/asf/gora/repo Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/2cf5d4ed Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/2cf5d4ed Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/2cf5d4ed Branch: refs/heads/master Commit: 2cf5d4ed209656baf1ab3d57e682cda84aae20e8 Parents: 86d8f8f Author: Lewis John McGibbney Authored: Thu Jul 31 07:12:33 2014 -0400 Committer: Lewis John McGibbney Committed: Thu Jul 31 07:12:33 2014 -0400 ---------------------------------------------------------------------- .../main/java/org/apache/gora/persistency/impl/PersistentBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/gora/blob/2cf5d4ed/gora-core/src/main/java/org/apache/gora/persistency/impl/PersistentBase.java ---------------------------------------------------------------------- diff --git a/gora-core/src/main/java/org/apache/gora/persistency/impl/PersistentBase.java b/gora-core/src/main/java/org/apache/gora/persistency/impl/PersistentBase.java index 99791dc..62cd11c 100644 --- a/gora-core/src/main/java/org/apache/gora/persistency/impl/PersistentBase.java +++ b/gora-core/src/main/java/org/apache/gora/persistency/impl/PersistentBase.java @@ -173,7 +173,7 @@ public abstract class PersistentBase extends SpecificRecordBase implements } private ByteBuffer getDirtyBytes() { - return (ByteBuffer) get(0); + return ByteBuffer.wrap(get(0).toString().getBytes()); } @Override