svn commit: r1088014 - /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: r1088014 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java

jleroux@apache.org
Author: jleroux
Date: Sat Apr  2 12:14:18 2011
New Revision: 1088014

URL: http://svn.apache.org/viewvc?rev=1088014&view=rev
Log:
Removes useless suppress warning annotations, fixes module name

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=1088014&r1=1088013&r2=1088014&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 Sat Apr  2 12:14:18 2011
@@ -41,9 +41,8 @@ import freemarker.template.TemplateTrans
  */
 public class OfbizContentTransform implements TemplateTransformModel {
 
-    public final static String module = OfbizUrlTransform.class.getName();
+    public final static String module = OfbizContentTransform.class.getName();
 
-    @SuppressWarnings("unchecked")
     private static String getArg(Map args, String key) {
         String  result = "";
         Object obj = args.get(key);
@@ -63,7 +62,6 @@ public class OfbizContentTransform imple
         return result;
     }
     
-    @SuppressWarnings("unchecked")
     public Writer getWriter(final Writer out, Map args) {
         final StringBuilder buf = new StringBuilder();
         final String imgSize = OfbizContentTransform.getArg(args, "variant");