You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/26 18:25:12 UTC

[jira] [Commented] (GEODE-1451) OffheapRegionEntryHelper.decodeAddressToBytes method is confusing

    [ https://issues.apache.org/jira/browse/GEODE-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302637#comment-15302637 ] 

ASF subversion and git services commented on GEODE-1451:
--------------------------------------------------------

Commit f73f25251feccb61b3c3699bf98ab7d5a90edacd in incubator-geode's branch refs/heads/develop from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=f73f252 ]

GEODE-1451: refactor decodeAddressToBytes into two methods

The boolean parameters have been removed and two
methods now exist:
1. decodeAddressToRawBytes(long)
2. decodeUncompressedAddressToBytes(long)


> OffheapRegionEntryHelper.decodeAddressToBytes method is confusing
> -----------------------------------------------------------------
>
>                 Key: GEODE-1451
>                 URL: https://issues.apache.org/jira/browse/GEODE-1451
>             Project: Geode
>          Issue Type: Improvement
>          Components: offheap
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>             Fix For: 1.0.0-incubating.M3
>
>
> The OffheapRegionEntryHelper.decodeAddressToBytes method has two boolean parameters that are confusing. It should be refactored so that the code is easier to understand.



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