add generic type so CloudBees JDK compiles us properly

This commit is contained in:
Adrian Cole 2011-08-16 13:40:15 -07:00
parent 648d2f4236
commit 91536886f4
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class GsonExperimentsTest {
JsonToken token = reader.peek();
for (; token != JsonToken.END_DOCUMENT && nnn(toFind, reader, token, name); token = skipAndPeek(token, reader))
;
T val = gson.fromJson(reader, type);
T val = gson.<T>fromJson(reader, type);
reader.close();
return val;
}