Explicitly providing generic type info that the Sun JDK was unable to infer

This commit is contained in:
Andrew Phillips 2011-08-16 13:32:16 -04:00
parent ccb3d84133
commit 99e7c86799
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class ParseFirstJsonValueNamed<T> implements Function<HttpResponse, T> {
reader))
;
if (name.get().equals(this.name)) {
return json.delegate().fromJson(reader, type.getType());
return json.delegate().<T>fromJson(reader, type.getType());
} else {
return nothing();
}