added type cast to fix JDK version mismatch issue
This commit is contained in:
parent
7a115785b7
commit
d46fea80db
@ -63,8 +63,9 @@ class ParamMap {
|
||||
return contents.get(paramName);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> T get(TypedKey<T> key) {
|
||||
return get(key.getName(), key.getClassOfT());
|
||||
return (T) get(key.getName(), key.getClassOfT());
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
Loading…
Reference in New Issue
Block a user