java-diff-utils
java-diff-utils copied to clipboard
Delta.applyTo and Delta.restore take List<Object> which causes generics problems
The two methods:
public abstract void applyTo(List<Object> target)
public abstract void restore(List<Object> target);
Take List<Object> as a param, whereas most other things use List<?>. the former
doesn't allow lists of anything other that Objects (no subclasses) whereas the
later allows anything (subclasses of Object). This makes the class pretty
inflexible, and means everything has to be copied to an Object that treats its
contents only as Objects.
Original issue reported on code.google.com by [email protected]
on 16 Jun 2013 at 6:44