[
https://issues.apache.org/jira/browse/OFBIZ-11996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191583#comment-17191583 ]
Jacques Le Roux commented on OFBIZ-11996:
-----------------------------------------
Hi James,
Actually it's not Spotbugs (I removed its marks to be sure) but Eclipse. The other solution (preferred IMO) is to parameterize the type of the list.
{code:java}
if (parser.isTrackErrors()) {
List<ParseError> list = parser.getErrors();
list.forEach(logError);
}
{code}
> Well-formed html in ftl template
> --------------------------------
>
> Key: OFBIZ-11996
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11996> Project: OFBiz
> Issue Type: Improvement
> Components: base
> Affects Versions: Upcoming Branch
> Reporter: James Yong
> Assignee: James Yong
> Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-11996.patch
>
>
> Check for well-formed html in ftl templates to catch programming errors.
> To test, set print.verbose=true and start up ofbiz.
> Then navigate to the page and search for ^^^ in the log console.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)