diff --git a/core/src/main/java/org/jclouds/rest/RestContextFactory.java b/core/src/main/java/org/jclouds/rest/RestContextFactory.java index 5defcda0d7..a491295b4a 100644 --- a/core/src/main/java/org/jclouds/rest/RestContextFactory.java +++ b/core/src/main/java/org/jclouds/rest/RestContextFactory.java @@ -304,7 +304,7 @@ public class RestContextFactory { contextBuilderClass = Providers.resolveContextBuilderClass(providerName, props); propertiesBuilderClass = Providers.resolvePropertiesBuilderClass(providerName, props); sync = (Class) (syncClassName != null ? Class.forName(syncClassName) : null); - async = (Class) (syncClassName != null ? Class.forName(asyncClassName) : null); + async = (Class) (asyncClassName != null ? Class.forName(asyncClassName) : null); } catch (IllegalArgumentException e) { throw new IllegalArgumentException( String.format(