[ https://issues.apache.org/jira/browse/FLINK-14998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515922#comment-17515922 ]
jay li edited comment on FLINK-14998 at 4/1/22 1:38 PM: -------------------------------------------------------- Hi [~yunta] , I completed this pr ( [https://github.com/apache/flink/pull/19330] ) ,thanks for your guidance. Looking forward to working with you next time. was (Author: JIRAUSER287310): Hi [~yunta] , I completed this [pr |[https://github.com/apache/flink/pull/19330]|https://github.com/apache/flink/pull/19330],] ,thanks for your guidance. > Remove FileUtils#deletePathIfEmpty > ---------------------------------- > > Key: FLINK-14998 > URL: https://issues.apache.org/jira/browse/FLINK-14998 > Project: Flink > Issue Type: Bug > Components: FileSystems > Reporter: Yun Tang > Assignee: jay li > Priority: Minor > Labels: auto-deprioritized-major, pull-request-available, starter > Fix For: 1.16.0 > > > With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, > method of {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink > production code. From my point of view, it's not wise to provide a method > with already known high-risk defect in Flink official code. I suggest to > remove this part of code. -- This message was sent by Atlassian Jira (v8.20.1#820001)