summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
7505a3c)
gitlab #16
Change-Id: I4f8c25790d3d0dc39726efda82abe8734552e0d1
this.resource = resource;
}
this.resource = resource;
}
+ @SuppressWarnings("unchecked")
- public Object getAdapter(Class adapter) {
+ public <T> T getAdapter(Class<T> adapter) {
if (Resource.class == adapter)
if (Resource.class == adapter)
this.resource = resource;
}
this.resource = resource;
}
+ @SuppressWarnings("unchecked")
- public Object getAdapter(Class adapter) {
+ public <T> T getAdapter(Class<T> adapter) {
if (Resource.class == adapter)
if (Resource.class == adapter)