[jira] [Closed] (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] [Closed] (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 ]

Jacques Le Roux closed OFBIZ-10451.
-----------------------------------
    Resolution: Implemented

Thanks Mathieu,

Your patch is in trunk at revision: 1846793  

I made a similar change in ContentUrlTag::appendContentPrefix


> 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
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10451_Use-String-equalsIgnoreCase-in-RequestHandler-doRequ.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)