[jira] [Updated] (OFBIZ-9787) [FB] Package org.apache.ofbiz.product.supplier

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

[jira] [Updated] (OFBIZ-9787) [FB] Package org.apache.ofbiz.product.supplier

Nicolas Malin (Jira)

     [ 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)