Tsz-wo Sze created HDFS-16963: --------------------------------- Summary: Remove the unnecessary use of Optional from DistributedFileSystem Key: HDFS-16963 URL: https://issues.apache.org/jira/browse/HDFS-16963 Project: Hadoop HDFS Issue Type: Improvement Components: fs Reporter: Tsz-wo Sze Assignee: Tsz-wo Sze
- In DfsPathCapabilities, the hasPathCapability(..) method may simply returns boolean. - In HdfsPathHandle, a constructor declares Optional parameters. It is a well known misuse of Optional. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org