[Minor] Resource.getTimedState() generics fix
This commit is contained in:
parent
ffe7c2ae0f
commit
a0371d7272
|
@ -96,7 +96,7 @@ public class Resource extends AbstractStrolchRootElement implements StrolchRootE
|
|||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked" })
|
||||
public <T extends StrolchTimedState<?>> T getTimedState(String id) {
|
||||
public <T extends StrolchTimedState<? extends IValue<?>>> T getTimedState(String id) {
|
||||
if (this.timedStateMap == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue