> @@ -45,7 +46,7 @@ protected BaseView(@Provider Context backend, @Provider 
> TypeToken<? extends Cont
>     @SuppressWarnings("unchecked")
>     @Override
>     public <C extends Context> C unwrap(TypeToken<C> type) {
> -      checkArgument(checkNotNull(type, 
> "type").isAssignableFrom(backendType), "backend type: %s not assignable to 
> %s", backendType, type);
> +      checkArgument(TypeTokenUtils.isSupertypeOf(checkNotNull(type, "type"), 
> backendType), "backend type: %s is not a supertype of %s", backendType, type);

Done.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/982/files/5be952718a45dd48d05cd93bb2f3a0b2a51b23ff#r77431189

Reply via email to