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)

Reply via email to