Author: mrisaliti
Date: Sun Mar 13 10:08:56 2011
New Revision: 1081069
URL:
http://svn.apache.org/viewvc?rev=1081069&view=revLog:
Remove some reduntant cast warning in CompDocServices/LayoutWorker (OFBIZ-4102)
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java
ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java?rev=1081069&r1=1081068&r2=1081069&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java Sun Mar 13 10:08:56 2011
@@ -181,7 +181,7 @@ public class CompDocServices {
Iterator<GenericValue> iter = compDocParts.iterator();
int pgCnt =0;
while (iter.hasNext()) {
- GenericValue contentAssocRevisionItemView = (GenericValue)iter.next();
+ GenericValue contentAssocRevisionItemView = iter.next();
//String thisContentId = contentAssocRevisionItemView.getString("contentId");
//String thisContentRevisionSeqId = contentAssocRevisionItemView.getString("maxRevisionSeqId");
String thisDataResourceId = contentAssocRevisionItemView.getString("dataResourceId");
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java?rev=1081069&r1=1081068&r2=1081069&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/layout/LayoutWorker.java Sun Mar 13 10:08:56 2011
@@ -81,7 +81,7 @@ public class LayoutWorker {
FileItem fi = null;
FileItem imageFi = null;
for (int i=0; i < lst.size(); i++) {
- fi = (FileItem)lst.get(i);
+ fi = lst.get(i);
String fieldName = fi.getFieldName();
String fieldStr = fi.getString();
if (fi.isFormField()) {