Ivan Andika created HDDS-13444:
----------------------------------

             Summary: Unify the isValidKeyPath
                 Key: HDDS-13444
                 URL: https://issues.apache.org/jira/browse/HDDS-13444
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Ivan Andika


Most of the logic on OzoneFSUtils#isValidKeyPath and 
OMClientRequest#isValidKeyPath are duplicated with the difference being whether 
to throw exception if the keyName is empty. We can remove duplication of this 
important logic.

See: https://github.com/apache/ozone/pull/8681/files#r2187540514



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to