Skip to content

Delta.applyTo and Delta.restore take List<Object> which causes generics problems #28

Description

@GoogleCodeExporter
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 l...@leocrawford.org.uk on 16 Jun 2013 at 6:44

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions