hadoop-hdfs-issues mailing list archives

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

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

Hudson commented on HDDS-1073:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15915 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/15915/])
HDDS-1073. Fix FindBugs issues on OzoneBucketStub#createMultipartKey. (elek: rev df7b7dadf94dbc196297c607ca87cbc87d72ee4c)
* (edit) hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/client/OzoneBucketStub.java


> 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