Author: mrisaliti
Date: Mon Feb 7 20:36:57 2011
New Revision: 1068112
URL:
http://svn.apache.org/viewvc?rev=1068112&view=revLog:
Remove suppress warning compilation due to TemplateTransformModel into OfbizCatalogUrlTransform (OFBIZ-4102)
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/product/category/OfbizCatalogUrlTransform.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/category/OfbizCatalogUrlTransform.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/category/OfbizCatalogUrlTransform.java?rev=1068112&r1=1068111&r2=1068112&view=diff==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/category/OfbizCatalogUrlTransform.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/category/OfbizCatalogUrlTransform.java Mon Feb 7 20:36:57 2011
@@ -34,6 +34,7 @@ import freemarker.template.TemplateTrans
public class OfbizCatalogUrlTransform implements TemplateTransformModel {
public final static String module = OfbizCatalogUrlTransform.class.getName();
+ @SuppressWarnings("unchecked")
public String getStringArg(Map args, String key) {
Object o = args.get(key);
if (o instanceof SimpleScalar) {
@@ -45,6 +46,7 @@ public class OfbizCatalogUrlTransform im
}
@Override
+ @SuppressWarnings("unchecked")
public Writer getWriter(final Writer out, final Map args)
throws TemplateModelException, IOException {
final StringBuilder buf = new StringBuilder();