[ofbiz-framework] branch trunk updated: Fixed: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)

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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 8b2524d  Fixed: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)
8b2524d is described below

commit 8b2524d4ada485a3b7c56c71a288286e06b52dd6
Author: James Yong <[hidden email]>
AuthorDate: Sat Aug 15 20:35:46 2020 +0800

    Fixed: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)
   
    Fix missing type arguments for generic class Map<K,V>
---
 .../org/apache/ofbiz/webapp/ftl/JsLanguageFilesMappingTransform.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/JsLanguageFilesMappingTransform.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/JsLanguageFilesMappingTransform.java
index 643dd2a..30e4893 100644
--- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/JsLanguageFilesMappingTransform.java
+++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/JsLanguageFilesMappingTransform.java
@@ -20,7 +20,7 @@ public class JsLanguageFilesMappingTransform implements TemplateTransformModel {
     private static final String MODULE = JsLanguageFilesMappingTransform.class.getName();
 
     @Override
-    public Writer getWriter(Writer out, Map args) {
+    public Writer getWriter(Writer out, @SuppressWarnings("rawtypes") Map args) {
         final StringBuilder buf = new StringBuilder();
         return new Writer(out) {
             @Override