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

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

Commit d9393dec59df3f5ea2cc2f4bb56c3adac49704a4 in geode's branch 
refs/heads/develop from [~dschneider]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d9393de ]

GEODE-3598: remove getInstance calls (#1035)

GEODE-3598: remove getInstance calls

DM.getCache and DM.getExistingCache are now used instead.

> refactor 
> org.apache.geode.internal.cache.DestroyRegionOperation.DestroyRegionMessage.getRegionFromPath(InternalDistributedSystem,
>  String) to not call CacheFactory.getinstance
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3598
>                 URL: https://issues.apache.org/jira/browse/GEODE-3598
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>
> DestroyRegionOperation.DestroyRegionMessage.getRegionFromPath(InternalDistributedSystem,
>  String)  should be changed to call "dm.getCache" instead of 
> CacheFactory.getInstance.
> Note that it should also be changed to take a DM instead of 
> InternalDistributedSystem since the only caller currently has the dm and this 
> code wants that instead of the InternalDistributedSystem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to