ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Leichert (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-9787) [FB] Package org.apache.ofbiz.product.supplier
Date Mon, 25 Sep 2017 14:18:10 GMT

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

Julian Leichert updated OFBIZ-9787:
-----------------------------------
    Attachment: OFBIZ-9787_org.apache.ofbiz.product.supplier_bugfixes.patch

class ProductServices
 - line 58,130 : removed dls 

> [FB] Package org.apache.ofbiz.product.supplier
> ----------------------------------------------
>
>                 Key: OFBIZ-9787
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9787
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Julian Leichert
>            Priority: Minor
>         Attachments: OFBIZ-9787_org.apache.ofbiz.product.supplier_bugfixes.patch
>
>
> SupplierProductServices.java:58, DLS_DEAD_LOCAL_STORE
> - DLS: Dead store to results in org.apache.ofbiz.product.supplier.SupplierProductServices.getSuppliersForProduct(DispatchContext,
Map)
> This instruction assigns a value to a local variable, but the value is not read or used
in any subsequent instruction. Often, this indicates an error, because the value computed
is never used.
> Note that Sun's javac compiler often generates dead stores for final local variables.
Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.
> SupplierProductServices.java:130, DLS_DEAD_LOCAL_STORE
> - DLS: Dead store to results in org.apache.ofbiz.product.supplier.SupplierProductServices.convertFeaturesForSupplier(DispatchContext,
Map)
> This instruction assigns a value to a local variable, but the value is not read or used
in any subsequent instruction. Often, this indicates an error, because the value computed
is never used.
> Note that Sun's javac compiler often generates dead stores for final local variables.
Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message