Julian Leichert created OFBIZ-9780:
--------------------------------------

             Summary: [FB] org.apache.ofbiz.product.catalog
                 Key: OFBIZ-9780
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9780
             Project: OFBiz
          Issue Type: Sub-task
          Components: product
    Affects Versions: Trunk
            Reporter: Julian Leichert
            Priority: Minor


CatalogWorker.java:103, BC_UNCONFIRMED_CAST
- BC: Unchecked/unconfirmed cast from javax.servlet.ServletRequest to 
javax.servlet.http.HttpServletRequest in 
org.apache.ofbiz.product.catalog.CatalogWorker.getPartyCatalogs(ServletRequest)

This cast is unchecked, and not all instances of the type casted from can be 
cast to the type it is being cast to. Check that your program logic ensures 
that this cast will not fail.

CatalogWorker.java:158, BC_UNCONFIRMED_CAST
- BC: Unchecked/unconfirmed cast from javax.servlet.ServletRequest to 
javax.servlet.http.HttpServletRequest in 
org.apache.ofbiz.product.catalog.CatalogWorker.getCurrentCatalogId(ServletRequest)

This cast is unchecked, and not all instances of the type casted from can be 
cast to the type it is being cast to. Check that your program logic ensures 
that this cast will not fail. 



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

Reply via email to