Removes useless suppress warning annotations, fixes module name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -41,9 +41,8 @@ import freemarker.template.TemplateTransformModel;
|
||||
*/
|
||||
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 implements TemplateTransformModel {
|
||||
return result;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Writer getWriter(final Writer out, Map args) {
|
||||
final StringBuilder buf = new StringBuilder();
|
||||
final String imgSize = OfbizContentTransform.getArg(args, "variant");
|
||||
|
||||
Reference in New Issue
Block a user