mirror of https://github.com/apache/jclouds.git
Explicitly providing generic type info that the Sun JDK was unable to infer
This commit is contained in:
parent
ccb3d84133
commit
99e7c86799
|
@ -69,7 +69,7 @@ public class ParseFirstJsonValueNamed<T> implements Function<HttpResponse, T> {
|
||||||
reader))
|
reader))
|
||||||
;
|
;
|
||||||
if (name.get().equals(this.name)) {
|
if (name.get().equals(this.name)) {
|
||||||
return json.delegate().fromJson(reader, type.getType());
|
return json.delegate().<T>fromJson(reader, type.getType());
|
||||||
} else {
|
} else {
|
||||||
return nothing();
|
return nothing();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue