Github user dschneider-pivotal commented on a diff in the pull request:
https://github.com/apache/incubator-geode/pull/145#discussion_r63930434
--- Diff:
geode-core/src/main/java/com/gemstone/gemfire/internal/offheap/OffHeapStoredObject.java
---
@@ -417,11 +417,13 @@ public void setSerializedValue(byte[] value) {
MemoryAllocatorImpl.getAllocator().getStats().incReads();
return result;
}
+ /**
+ * This method should only be called on uncompressed objects
+ * @return byte array of the StoredObject value.
+ */
protected byte[] getRawBytes() {
+ assert !isCompressed();
byte[] result = getCompressedBytes();
--- End diff --
Combine these two lines into "return getCompressedBytes();"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---