You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2019/02/08 01:41:00 UTC

[jira] [Created] (HDDS-1073) Fix FindBugs issues on OzoneBucketStub#createMultipartKey

Xiaoyu Yao created HDDS-1073:
--------------------------------

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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org