This is an automated email from the ASF dual-hosted git repository.
mbrohl pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new d251164 Improved: simplified ModelInduceFromDb.groovy code to be a one-liner.
d251164 is described below
commit d251164e06d4c864deaeeb804dc8bfd5f21d4acf
Author: Michael Brohl <
[hidden email]>
AuthorDate: Thu Feb 11 20:54:18 2021 +0100
Improved: simplified ModelInduceFromDb.groovy code to be a one-liner.
---
framework/webtools/groovyScripts/entity/ModelInduceFromDb.groovy | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/framework/webtools/groovyScripts/entity/ModelInduceFromDb.groovy b/framework/webtools/groovyScripts/entity/ModelInduceFromDb.groovy
index 181f907..3c200d2 100644
--- a/framework/webtools/groovyScripts/entity/ModelInduceFromDb.groovy
+++ b/framework/webtools/groovyScripts/entity/ModelInduceFromDb.groovy
@@ -17,6 +17,4 @@
* under the License.
*/
- inducedText = request.getAttribute("inducedText")
-
- context.inducedText = inducedText
+context.inducedText = request.getAttribute("inducedText")