Skip to content

Commit

Permalink
[Feature][Metrics] Fix style check (apache#9324)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGao888 committed Jul 11, 2022
1 parent 184344c commit e3b8356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static boolean directoryTraversal(String filename){
* @param filename String type of filename
* @return file size in KB
*/
public static double getFileSizeInKB(String filename){
public static double getFileSizeInKB(String filename) {
File file = new File(filename);
return ((double) file.length()) / ONE_KB;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
import org.apache.dolphinscheduler.common.storage.StorageOperate;
import org.apache.dolphinscheduler.common.utils.CommonUtils;
import org.apache.dolphinscheduler.common.utils.DateUtils;
import org.apache.dolphinscheduler.common.utils.FileUtils;
import org.apache.dolphinscheduler.common.utils.JSONUtils;
import org.apache.dolphinscheduler.common.utils.LoggerUtils;
import org.apache.dolphinscheduler.common.utils.PropertyUtils;
import org.apache.dolphinscheduler.common.utils.FileUtils;
import org.apache.dolphinscheduler.plugin.task.api.AbstractTask;
import org.apache.dolphinscheduler.plugin.task.api.TaskChannel;
import org.apache.dolphinscheduler.plugin.task.api.TaskExecutionContext;
Expand Down

0 comments on commit e3b8356

Please sign in to comment.