mirror of https://github.com/apache/jclouds.git
add generic type so CloudBees JDK compiles us properly
This commit is contained in:
parent
648d2f4236
commit
91536886f4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue