[ 
https://issues.apache.org/jira/browse/HADOOP-10833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoy Antony updated HADOOP-10833:
----------------------------------

    Attachment: HADOOP-10833.patch

Removed the field {{cache}} and its reference.
Since there is no change in functionality, no tests are added.

> Unused cache in UserProvider
> ----------------------------
>
>                 Key: HADOOP-10833
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10833
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>         Attachments: HADOOP-10833.patch
>
>
> _UserProvider_ contains the field cache.
> {code}
>   private final Map<String, CredentialEntry> cache = new HashMap<String, 
>       CredentialEntry>();
> {code}
>       
> It is referenced only in {{deleteCredentialEntry}} and so there is no real 
> usage of {{cache}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to