svn commit: r1125953 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java

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

svn commit: r1125953 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java

mrisaliti
Author: mrisaliti
Date: Sun May 22 13:17:38 2011
New Revision: 1125953

URL: http://svn.apache.org/viewvc?rev=1125953&view=rev
Log:
add a @SuppressWarnings("unchecked") due to Freemarker api

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java?rev=1125953&r1=1125952&r2=1125953&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java Sun May 22 13:17:38 2011
@@ -43,7 +43,8 @@ public class OfbizContentTransform imple
 
     public final static String module = OfbizContentTransform.class.getName();
 
-    private static String getArg(Map args, String key) {
+    @SuppressWarnings("unchecked")
+ private static String getArg(Map args, String key) {
         String  result = "";
         Object obj = args.get(key);
         if (obj != null) {
@@ -62,7 +63,8 @@ public class OfbizContentTransform imple
         return result;
     }
     
-    public Writer getWriter(final Writer out, Map args) {
+    @SuppressWarnings("unchecked")
+ public Writer getWriter(final Writer out, Map args) {
         final StringBuilder buf = new StringBuilder();
         final String imgSize = OfbizContentTransform.getArg(args, "variant");
         return new Writer(out) {