[jira] [Updated] (OFBIZ-10451) Use ‘String::equalsIgnoreCase’ in ‘RequestHandler::doRequest’

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-10451) Use ‘String::equalsIgnoreCase’ in ‘RequestHandler::doRequest’

Nicolas Malin (Jira)

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

Mathieu Lirzin updated OFBIZ-10451:
-----------------------------------
    Description: Use {{String::equalsIgnoreCase}}  instead of combining {{String::equals}} and {{String::toUpperCase}}. Additionally this avoids having to check the emptiness of the {{X-Forwarded-Proto}} request header.  (was: Use {{String::equalsIgnoreCase}}  instead of combining {{String::equals}} and {{String::toUpperCase}}. Additionally this avoids having to check the emptiness of the{{X-Forwarded-Proto}} request header.)

> Use ‘String::equalsIgnoreCase’ in ‘RequestHandler::doRequest’
> -------------------------------------------------------------
>
>                 Key: OFBIZ-10451
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10451
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Mathieu Lirzin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10451_Improved-Use-String-equalsIgnoreCase-in-RequestHandl.patch
>
>
> Use {{String::equalsIgnoreCase}}  instead of combining {{String::equals}} and {{String::toUpperCase}}. Additionally this avoids having to check the emptiness of the {{X-Forwarded-Proto}} request header.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)