[jira] [Created] (OFBIZ-9780) [FB] org.apache.ofbiz.product.catalog

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

[jira] [Created] (OFBIZ-9780) [FB] org.apache.ofbiz.product.catalog

Nicolas Malin (Jira)
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)