1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    365
    Vote Rating
    0
    sdc is on a distinguished road

      0  

    Default BaseLoader constructors not type-safe

    BaseLoader constructors not type-safe


    Some constructors in BaseLoader and subclasses are type-safe, others are not. It would be better to have :
    Code:
    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)

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    The changes have been made in the trunk.

Thread Participants: 1