[Minor] Resource.getTimedState() generics fix

This commit is contained in:
Robert von Burg 2017-04-19 22:01:08 +02:00
parent ffe7c2ae0f
commit a0371d7272
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}