> Also your last sentence is tautological. =P My last sentence fell afoul of Markdown, methinks ;-) Should have been:
"What we were fixing yesterday was ensuring that the AWS EC2 API is an `ApiContext<AwsEc2Api>` rather than an `ApiContext<Ec2Api>`." And yes, the switch will have flipped those...the way the current `unwrap()` code works will simply fail with any kind of subtyping, I think, but we flipped it because it's more important to be able to get the AwsEc2Api out of an AWS EC2 context than the Ec2Api. You can always do ``` EC2Api ec2api = ctx.unwrapApi(AWSEC2Api.class); ``` after all, I guess? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/156#issuecomment-25273930
