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

Nandakumar updated HDDS-11180:
------------------------------
    Description: 
{{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

  was:{{HttpServer2#inferMimeType}} return statement can be simplified. There 
is no need for null check.


> 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
>            Priority: Major
>
> {{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