From 9dcaa272ecd994ef21e508243b6385fa8086a81b Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Tue, 8 Jun 2010 11:56:48 -0700 Subject: [PATCH] fixed generic type switch --- core/src/main/java/org/jclouds/rest/RestContextBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jclouds/rest/RestContextBuilder.java b/core/src/main/java/org/jclouds/rest/RestContextBuilder.java index 149b46e26d..c154bc1394 100755 --- a/core/src/main/java/org/jclouds/rest/RestContextBuilder.java +++ b/core/src/main/java/org/jclouds/rest/RestContextBuilder.java @@ -182,6 +182,6 @@ public abstract class RestContextBuilder { public RestContext buildContext() { Injector injector = buildInjector(); return (RestContext) injector.getInstance(Key.get(Types.newParameterizedType( - RestContext.class, asyncClientType, syncClientType))); + RestContext.class, syncClientType, asyncClientType))); } }