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

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

Commit 24fc3195e214cdbcacc6688c5045747e32c62bc1 in geode's branch 
refs/heads/develop from Jinmei Liao
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=24fc319 ]

Revert "* GEODE-6861: have create/delete/update return 
SimpleClusterManagementResult which does not need generics."

This reverts commit b3157c94


> generify ClusterManagementService APIs
> --------------------------------------
>
>                 Key: GEODE-6861
>                 URL: https://issues.apache.org/jira/browse/GEODE-6861
>             Project: Geode
>          Issue Type: Improvement
>          Components: management
>            Reporter: Owen Nichols
>            Assignee: Jinmei Liao
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 7h
>  Remaining Estimate: 0h
>
> currently CMS calls like `list(CacheElement)` return `<? extends 
> RuntimeCacheElement>` which then has to be cast to the appropriate actual 
> type.
> if we create a link between the filter type and result type, then generics 
> can be used to give the correct actual return type in all cases, and we can 
> get rid of a ton of warnings and sketchy workarounds like passing `class` 
> parameters to methods that shouldn't need them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to