hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10683) Make class Token$PrivateToken private
Date Thu, 06 Oct 2016 00:53:20 GMT

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

Wei-Chiu Chuang updated HDFS-10683:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha2
                   2.9.0
           Status: Resolved  (was: Patch Available)

Committed to trunk and branch-2. Thanks [~jzhuge]!

> Make class Token$PrivateToken private
> -------------------------------------
>
>                 Key: HDFS-10683
>                 URL: https://issues.apache.org/jira/browse/HDFS-10683
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.9.0
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>              Labels: fs, ha, security, security_token
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: HDFS-10683.001.patch, HDFS-10683.002.patch
>
>
> Avoid {{instanceof}} or typecasting of {{Toke.PrivateToken}} by introducing an interface
method in {{Token}}. Make class {{Toke.PrivateToken}} private. Use a factory method instead.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message