hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-1073) Fix FindBugs issues on OzoneBucketStub#createMultipartKey
Date Fri, 08 Feb 2019 10:38:00 GMT

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

Elek, Marton updated HDDS-1073:
-------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1. I am committed it to the trunk. 

Thank you the fix [~avijayan].



> Fix FindBugs issues on OzoneBucketStub#createMultipartKey
> ---------------------------------------------------------
>
>                 Key: HDDS-1073
>                 URL: https://issues.apache.org/jira/browse/HDDS-1073
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Xiaoyu Yao
>            Assignee: Aravindan Vijayan
>            Priority: Minor
>         Attachments: HDDS-1073-2.patch, HDDS-1073.patch
>
>
> We should not use == or != for String equality. 
> {code}
> if (multipartUploadID == null || multipartUploadID != uploadID) {
>   throw new IOException("NO_SUCH_MULTIPART_UPLOAD_ERROR");
> } else {
> {code}



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

---------------------------------------------------------------------
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