> EmptyPaginatedCollectionOnNotFoundOr404 returns PaginatedCollection<Object>
> However Queues extends PaginatedCollection<Queue> and not Object.

Without having taking a long look at the code...should EPCONFO404 not be a 
generic class, i.e. `EmptyPaginatedCollectionOnNotFoundOr404<T> returns 
PaginatedCollection<T>`? I guess we can't change the declaration to ` 
EmptyPaginatedCollectionOnNotFoundOr404 returns PaginatedCollection<? extends 
Object>` - or, if we could, that probably wouldn't fix it.

As far as an "evil quick fix" idea goes: what if you cast the result to 
`(PaginatedCollection)` (i.e. kill the generic)?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/96#issuecomment-42521627

Reply via email to