- Timestamp:
- 09/10/13 21:11:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/params/types/ArrayListParam.java
r100 r105 49 49 // List<?> list; 50 50 // if (oldValue == null) { 51 // 51 // list = new ArrayList<Object>(); 52 52 // } else { 53 // 54 // 55 // 56 // 53 // list = Casting.tryCast(List.class, oldValue); 54 // if (list == null) { 55 // throw new CastFailure(); 56 // } 57 57 // } 58 58 // Containers.resizeList(list, size); … … 61 61 } 62 62 // if (oldValue != null) { 63 // 63 // return new ReassignResult<List<?>>(Casting.throwCast(List.class, oldValue)); 64 64 // } 65 65 return new ReassignResult<List<?>>(Casting.throwCast(List.class, newValue)); … … 70 70 return "l " + getContainedTypeName(); 71 71 } 72 73 // return (value == null) ? "0" : Integer.toString(Casting.throwCast(List.class, value).size()); 72 74 }
Note: See TracChangeset
for help on using the changeset viewer.