[jira] [Closed] (OFBIZ-9586) [FB] Package org.apache.ofbiz.base.util.template

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

[jira] [Closed] (OFBIZ-9586) [FB] Package org.apache.ofbiz.base.util.template

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-9586.
----------------------------------
    Resolution: Not A Problem
      Assignee: Jacques Le Roux

Thanks Dennis,

Currently all OOTB calls to this method passes a Writer so there are no issues in OFBiz. The FIXME is clear enough for people who would cross a RuntimeException. So I close as not a pb.

> [FB] Package org.apache.ofbiz.base.util.template
> ------------------------------------------------
>
>                 Key: OFBIZ-9586
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9586
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: base
>    Affects Versions: Trunk
>            Reporter: Dennis Balkir
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> FreeMarkerWorker.java:210, BC_UNCONFIRMED_CAST, Priorität: Niedrig
> BC: Unchecked/unconfirmed cast from Appendable to java.io.Writer in org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(Template, Map, Appendable)
> 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)