[
https://issues.apache.org/jira/browse/OFBIZ-10451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690540#comment-16690540 ]
Mathieu Lirzin commented on OFBIZ-10451:
----------------------------------------
Thanks Jacques
> 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)