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] [Created] (OFBIZ-9787) [FB] Package org.apache.ofbiz.product.supplier
Date Mon, 25 Sep 2017 14:17:01 GMT
Julian Leichert created OFBIZ-9787:
--------------------------------------

             Summary: [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


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