[jira] [Commented] (OFBIZ-11929) Fix Literals comparisons with variable to avoid NPE

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

[jira] [Commented] (OFBIZ-11929) Fix Literals comparisons with variable to avoid NPE

Nicolas Malin (Jira)

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

Devanshu Vyas commented on OFBIZ-11929:
---------------------------------------

I have attached 2 patch files containing the fix for some of the string comparisons I found in the current code. Please have a look.

> Fix Literals comparisons with variable to avoid NPE
> ---------------------------------------------------
>
>                 Key: OFBIZ-11929
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11929
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Devanshu Vyas
>            Assignee: Devanshu Vyas
>            Priority: Minor
>         Attachments: OFBIZ-11929_framework.patch, OFBIZ-11929_plugins.patch
>
>
> With respect to our previous effort to fix the inconsistent string comparisons[OFBIZ-9254], we are now creating a new ticket to continue this effort.
> In this ticket, we will cover all the remaining constants comparison with variable that might lead to an NPE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)