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

Nicolas Malin closed OFBIZ-13301.
---------------------------------
    Resolution: Done

> Update codenarc version to 3.6.0
> --------------------------------
>
>                 Key: OFBIZ-13301
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13301
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>
> Currently, codenarc 3.5.0 doesn't support groovy 4 and if we use java 17 
> syntax like direct switch, the file failed and not analysed :
>  
> {code:java}
> switch (myVar) {
>    case x -> return true
> }
> {code}
> the file failed and not analysed.
> To fix, we update codenarc to the latest version with groovy4 support : 
> [CodeNarc-3.6.0-groovy-4.0.jar 
> |https://github.com/CodeNarc/CodeNarc/releases/download/v3.6.0/CodeNarc-3.6.0-groovy-4.0.jar]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to