[ 
https://issues.apache.org/jira/browse/OFBIZ-10726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728318#comment-16728318
 ] 

Aditya Sharma commented on OFBIZ-10726:
---------------------------------------

Added a patch that improves code in isJavaScriptEnabled().

In this patch, instead of using if-else block, a ternary operator is used for 
improving readability.

> Refactor boolean returns for UtilHttp methods 
> ----------------------------------------------
>
>                 Key: OFBIZ-10726
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10726
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>            Priority: Minor
>         Attachments: OFBIZ-10726.patch, OFBIZ-10726.patch
>
>




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

Reply via email to