[
https://issues.apache.org/jira/browse/GEODE-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340369#comment-16340369
]
ASF subversion and git services commented on GEODE-4369:
--------------------------------------------------------
Commit e7b96ebaafe4fcffb5f0ba426ff29327c0977ecf in geode's branch
refs/heads/feature/GEODE-3928 from [~dschneider]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=e7b96eb ]
GEODE-4369: remove generics from InternalRegion and InternalDistributedRegion
(#1336)
> the InternalRegion and InternalDistributedRegion interfaces should not have
> generic parameters
> ----------------------------------------------------------------------------------------------
>
> Key: GEODE-4369
> URL: https://issues.apache.org/jira/browse/GEODE-4369
> Project: Geode
> Issue Type: Improvement
> Components: regions
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The InternalRegion and InternalDistributedRegion interfaces exist for
> internal code to be able to access internal implementation on classes the
> implement the Region interface.
> The Region interface has generics so that application code can say what class
> is used for the "key" and "value". This allows applications to be less error
> prone and not have a bunch of casts in them.
> But internally we never know at compile time what the type of the key and
> value of a Region instance will be. So internally we do not want the generics
> on these classes. It just causes us to always need to add <?,?> whenever we
> use this interface or live with a warning about using raw types.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)