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

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

Commit 7405d3d78cbdc771da364d78f4c5f8e7db3125e7 in geode's branch 
refs/heads/feature/GEODE-5787-dunit-internal from [~nabarunnag]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7405d3d ]

GEODE-5975: Fixed container access. (#2771)

* Ensured that container access is done with the proper object type as a 
parameter.

> Fix type mismatch on container mismatch
> ---------------------------------------
>
>                 Key: GEODE-5975
>                 URL: https://issues.apache.org/jira/browse/GEODE-5975
>             Project: Geode
>          Issue Type: Bug
>            Reporter: nabarun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Calling container access methods such as Collections.contains or Map.get with 
> an object of a type that is incompatible with the corresponding container 
> element type is unlikely to return true.
>  
> Affected files:
> [ManagementResourceRepo.java|https://lgtm.com/projects/g/apache/incubator-geode/snapshot/8c3d7f0677a5c6d167d1927ebb2e8056b67086fe/files/geode-core/src/main/java/org/apache/geode/management/internal/ManagementResourceRepo.java]
> [RegionProvider.java|https://lgtm.com/projects/g/apache/incubator-geode/snapshot/8c3d7f0677a5c6d167d1927ebb2e8056b67086fe/files/geode-core/src/main/java/org/apache/geode/redis/internal/RegionProvider.java]



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

Reply via email to