You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2020/03/28 09:20:00 UTC

[jira] [Commented] (OFBIZ-11371) Convert updateEmailContent service from mini-lang to groovy DSL

    [ https://issues.apache.org/jira/browse/OFBIZ-11371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069338#comment-17069338 ] 

Pawan Verma commented on OFBIZ-11371:
-------------------------------------

Hi [~anushi.gupta10]

Thanks, for the great work. Groovy has Groovy-Truth that means we do not need to check the variable for null explicitly.

I think we can write if blocks as: if (parameters.subjectDataResourceId)

Please let me know your thoughts on this :)

 

> Convert updateEmailContent service from mini-lang to groovy DSL
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-11371
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11371
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: content
>    Affects Versions: Trunk
>            Reporter: Devanshu Vyas
>            Assignee: Pawan Verma
>            Priority: Minor
>         Attachments: OFBIZ-11371.patch
>
>
> Convert updateEmailContent service code from mini-lang to groovy DSL.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)