From 99e7c86799b998dc3bf5da1584b91c82a58ecd58 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Tue, 16 Aug 2011 13:32:16 -0400 Subject: [PATCH] Explicitly providing generic type info that the Sun JDK was unable to infer --- .../org/jclouds/http/functions/ParseFirstJsonValueNamed.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jclouds/http/functions/ParseFirstJsonValueNamed.java b/core/src/main/java/org/jclouds/http/functions/ParseFirstJsonValueNamed.java index 1fa7c45c6b..b45f2353bc 100644 --- a/core/src/main/java/org/jclouds/http/functions/ParseFirstJsonValueNamed.java +++ b/core/src/main/java/org/jclouds/http/functions/ParseFirstJsonValueNamed.java @@ -69,7 +69,7 @@ public class ParseFirstJsonValueNamed implements Function { reader)) ; if (name.get().equals(this.name)) { - return json.delegate().fromJson(reader, type.getType()); + return json.delegate().fromJson(reader, type.getType()); } else { return nothing(); }