You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2016/05/25 22:07:12 UTC

[jira] [Resolved] (GEODE-1296) OffHeapStoredObject.getRawBytes should assert that it is not called on compressed data

     [ https://issues.apache.org/jira/browse/GEODE-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darrel Schneider resolved GEODE-1296.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-incubating.M3

> OffHeapStoredObject.getRawBytes should assert that it is not called on compressed data
> --------------------------------------------------------------------------------------
>
>                 Key: GEODE-1296
>                 URL: https://issues.apache.org/jira/browse/GEODE-1296
>             Project: Geode
>          Issue Type: Bug
>          Components: offheap
>            Reporter: Darrel Schneider
>            Assignee: Kenneth Howe
>             Fix For: 1.0.0-incubating.M3
>
>
> The current code does this:
>       if (isCompressed()) {
>         throw new UnsupportedOperationException();
>       }
> It would be more clear if it just did this:
>       assert !isCompressed();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)