[ 
https://issues.apache.org/jira/browse/HDDS-11180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai resolved HDDS-11180.
-------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Done

> Simplify HttpServer2#inferMimeType return statement
> ---------------------------------------------------
>
>                 Key: HDDS-11180
>                 URL: https://issues.apache.org/jira/browse/HDDS-11180
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Nandakumar
>            Assignee: Will Xiao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> {{HttpServer2#inferMimeType}} return statement can be simplified. There is no 
> need for null check.
> https://github.com/apache/ozone/blob/adc7ad34967b15e1bdf28b844eb8cccb2549f420/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/http/HttpServer2.java#L1677



--
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