iprithv opened a new pull request, #11467:
URL: https://github.com/apache/ozone/pull/11467

   `else if (relativekeyname.endswith(delimiter))` condition can never run. it 
is only reached when `relativekeyname` does not contain the delimiter, so it 
cannot end with it either.
   
   the case it was meant for (prefix `dir`, key `dir/`) is already handled by 
the `indexof(delimiter)` branch, which adds the common prefix `dir/`.
   
   so removed the unreachable branch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to