Skip to content

Relax inmethod DataGrid generics parameter rules #36

Closed
akiraly opened this Issue Jun 20, 2011 · 2 comments

2 participants

@akiraly
WicketStuff member
akiraly commented Jun 20, 2011

Currently:

class DataGrid<T> extends AbstractGrid<IDataSource<T>, T>

This should probably be:

class DataGrid<D extends IDataSource<T>, T> extends AbstractGrid<D, T>

And this change implies several changes troughout the codebase.

@akiraly akiraly was assigned Jun 20, 2011
@martin-g
WicketStuff member

Looks OK.

@akiraly
WicketStuff member
akiraly commented Jun 21, 2011

Change done. Now IDataSource type can be specified as generic parameter for DataGrid/DefaultDataGrid. Looks a bit ugly though.

@akiraly akiraly closed this Jun 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.