summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/raw
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-04-07 00:57:48 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-04-07 00:57:48 +0000
commit1f8ac314930f8b2cb13b9623a1e79706b1bc8d79 (patch)
treee990da3481011212776434186f60c529fe5f4a40 /src/main/java/com/amazon/carbonado/raw
parent755d0fa1dfa42d8987dd9dc2439f8a1f9c058fe9 (diff)
Add prepare method to Storable.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/raw')
-rw-r--r--src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java b/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java
index 6a5d89d..dd43515 100644
--- a/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java
+++ b/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java
@@ -182,6 +182,8 @@ public class GenericStorableCodec<S extends Storable> implements StorableCodec<S
b.returnVoid();
}
+ CodeBuilderUtil.definePrepareMethod(cf, storableClass, rawSupportType);
+
// Implement protected abstract methods inherited from parent class.
// byte[] encodeKey()