Fixed: NotSerializableException using uploadPartyContentFile service
Removes a warning:
UtilMisc.java:202: warning: [rawtypes] found raw type: Iterator
Iterator itr = arrayList.iterator();
^
missing type arguments for generic class Iterator<E>
where E is a type-variable:
E extends Object declared in interface Iterator
@@ -199,7 +199,7 @@ public final class UtilMisc {
*/
public static <V> void makeArrayListSerializable(ArrayList<Object> arrayList) {
// now filter out all non-serializable values
- Iterator itr = arrayList.iterator();
+ Iterator<Object> itr = arrayList.iterator();
while (itr.hasNext()) {
Object obj = itr.next();
if (!(obj instanceof Serializable)) {
