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

shimingfei commented on HADOOP-13591:
-------------------------------------

[~uncleGen]
let's make "/" a constant in Constants.java, and change ">0" to "> 0"
{code}
+    if (key.length() >0 && !key.endsWith("/")) {
+      key += "/";
+    }
{code}


> issue about the logic of `directory` in Aliyun OSS
> --------------------------------------------------
>
>                 Key: HADOOP-13591
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13591
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: HADOOP-12756
>            Reporter: Genmao Yu
>            Assignee: Genmao Yu
>             Fix For: HADOOP-12756
>
>         Attachments: HADOOP-13591-HADOOP-12756.001.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to