You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/03/23 08:54:00 UTC

[jira] [Created] (HDFS-16963) Remove the unnecessary use of Optional from DistributedFileSystem

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org