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

Chris Nauroth updated HDFS-9175:
--------------------------------
    Hadoop Flags: Reviewed

+1 pending pre-commit run.  This makes sense, given that the class itself is 
advertised as public.  I'll submit this for pre-commit run now.

> Change scope of 'AccessTokenProvider.getAccessToken()' and 
> 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to 
> public
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9175
>                 URL: https://issues.apache.org/jira/browse/HDFS-9175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: webhdfs
>    Affects Versions: 2.8.0
>            Reporter: Santhosh G Nayak
>            Assignee: Santhosh G Nayak
>         Attachments: HDFS-9175.1.patch
>
>
> {{org.apache.hadoop.hdfs.web.oauth2.AccessTokenProvider#getAccessToken()}}  
> and 
> {{org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider#getCredential()}}
>  abstract methods are having default scope.
> Unfortunately, it restricts the users from having the custom implementations 
> of these classes in a different package.
> So, the proposal is to change scope of these abstract methods to {{public}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to