This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 55996c7ad077d50dac0d56ff7646e022efe9ff5d
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Feb 2 09:48:44 2024 +0100

    Improved: Don't need to show files names in UI messages (OFBIZ-12884)
    
    Not sure how this "this." were still there when they are not in other 
branches
---
 .../src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java 
b/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java
index 7606fa3923..7572f20299 100644
--- 
a/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java
+++ 
b/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java
@@ -469,8 +469,8 @@ public final class SimpleMethod extends MiniLangElement {
             methodContext.putEnv(eventResponseName, 
methodContext.getResponse());
         }
         methodContext.putEnv("simpleMethod", this);
-        methodContext.putEnv("methodName", this.getMethodName());
-        methodContext.putEnv("methodShortDescription", 
this.getShortDescription());
+        methodContext.putEnv("methodName", getMethodName());
+        methodContext.putEnv("methodShortDescription", getShortDescription());
         // if using transaction, try to start here
         boolean beganTransaction = false;
         if (useTransaction) {

Reply via email to