gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [1/2] git commit: GORA-189 > Embrace all text-like parameters in generated Persistent subclasses by Compiler CharSequence
Date Thu, 31 Jul 2014 11:13:11 GMT
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 <lewis.j.mcgibbney@jpl.nasa.gov>
Authored: Thu Jul 31 07:12:33 2014 -0400
Committer: Lewis John McGibbney <lewis.j.mcgibbney@jpl.nasa.gov>
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


Mime
View raw message