View Full Version : BaseLoader constructors not type-safe

8 Jul 2008, 12:10 AM
Some constructors in BaseLoader and subclasses are type-safe, others are not. It would be better to have :

public BaseLoader(DataProxy<C, D> proxy, DataReader<C,D> reader)
public BaseLoader(DataReader<C,D> reader)

public BaseListLoader(DataProxy<C, D> proxy)
public BaseListLoader(DataProxy<C, D> proxy, DataReader<C, D> reader)

public BaseTreeLoader(DataProxy<M,List<M>> proxy)
public BaseTreeLoader(DataReader<M,List<M>> reader)
public BaseTreeLoader(DataProxy<M,List<M>> proxy, DataReader<M,List<M>> reader)

8 Jul 2008, 6:32 AM
The changes have been made in the trunk.