[
https://issues.apache.org/jira/browse/HDDS-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aravindan Vijayan updated HDDS-1073:
------------------------------------
Attachment: HDDS-1073.patch
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]