geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-795) Improve RegionEntryFactory creation in AbstractRegionMap
Date Mon, 01 Feb 2016 03:16:39 GMT

    [ 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)

Mime
View raw message