gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject git commit: revert Embrace all text-like parameters in generated Persistent subclasses by Compiler CharSequence
Date Wed, 06 Aug 2014 02:54:24 GMT
Repository: gora
Updated Branches:
  refs/heads/master 89c025d2f -> dc76da920


revert 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/dc76da92
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/dc76da92
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/dc76da92

Branch: refs/heads/master
Commit: dc76da920a438d632a102cd422cb8fb6b077f1ce
Parents: 89c025d
Author: Lewis John McGibbney <lewis.j.mcgibbney@jpl.nasa.gov>
Authored: Tue Aug 5 19:54:37 2014 -0700
Committer: Lewis John McGibbney <lewis.j.mcgibbney@jpl.nasa.gov>
Committed: Tue Aug 5 19:54:37 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                        | 2 --
 .../main/java/org/apache/gora/persistency/impl/PersistentBase.java | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/dc76da92/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 01e14f9..28d376f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,8 +6,6 @@ Current Development 0.5-SNAPSHOT
 
 * GORA-364 MemStore.get fails with NPE when key is not set (Gerhard Gossen via lewismc)
 
-* GORA-189 Embrace all text-like parameters in generated Persistent subclasses by Compiler
CharSequence (lewismc)
-
 * GORA-361 AvroUtils.deepClonePersistent needs to flush BinaryEncoder (Gerhard Gossen via
hsaputra)
 
 * GORA-351 Multiple Slf4j logging implementations in parent pom.xml (lewismc)

http://git-wip-us.apache.org/repos/asf/gora/blob/dc76da92/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 62cd11c..99791dc 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.wrap(get(0).toString().getBytes());
+    return (ByteBuffer) get(0);
   }
 
   @Override


Mime
View raw message