You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Julian Leichert (JIRA)" <ji...@apache.org> on 2017/09/25 12:06:00 UTC

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

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)