diff --git a/core/src/main/java/org/jclouds/internal/BaseView.java b/core/src/main/java/org/jclouds/internal/BaseView.java index 250f49fe72..1da574e21a 100644 --- a/core/src/main/java/org/jclouds/internal/BaseView.java +++ b/core/src/main/java/org/jclouds/internal/BaseView.java @@ -70,7 +70,7 @@ public abstract class BaseView extends ForwardingObject implements View { public A unwrapApi(Class apiClass) { checkArgument(ApiContext.class.isAssignableFrom(backendType.getRawType()), "backend type: %s should be an ApiContext", backendType); - TypeToken> contextToken = new TypeToken>(delegate().getClass()) { + TypeToken> contextToken = new TypeToken>(delegate().getClass()) { private static final long serialVersionUID = 1L; }.where(new TypeParameter() { }, TypeToken.of(apiClass));