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/02/01 04:16:39 UTC

[jira] [Commented] (GEODE-795) Improve RegionEntryFactory creation in AbstractRegionMap

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

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

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

GEODE-795: Changed RegionEntryFactory code from complex nested if-else block to more maintainable bit masking.


> Improve RegionEntryFactory creation in AbstractRegionMap
> --------------------------------------------------------
>
>                 Key: GEODE-795
>                 URL: https://issues.apache.org/jira/browse/GEODE-795
>             Project: Geode
>          Issue Type: Improvement
>          Components: core
>            Reporter: Udo Kohlmeyer
>            Assignee: Udo Kohlmeyer
>
> The RegionEntryFactory building code inside of AbstractRegionMap is highly complex. With 5 conditionals this amount to many combinations resulting in a deep if-else block.
> This approach is not readable nor scalable going forward.



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