Merge pull request #788 from grkvlt/openstack-extensibility-fixup

Openstack extensibility fixup
This commit is contained in:
Adrian Cole 2012-08-16 14:56:40 -07:00
commit bb37f61965
3 changed files with 7 additions and 7 deletions

View File

@ -68,17 +68,17 @@ public interface KeystoneApi {
* Provides synchronous access to Token features
*/
@Delegate
Optional<TokenApi> getTokenApi();
Optional<? extends TokenApi> getTokenApi();
/**
* Provides synchronous access to User features
*/
@Delegate
Optional<UserApi> getUserApi();
Optional<? extends UserApi> getUserApi();
/**
* Provides synchronous access to Tenant features
*/
@Delegate
Optional<TenantApi> getTenantApi();
Optional<? extends TenantApi> getTenantApi();
}

View File

@ -71,17 +71,17 @@ public interface KeystoneAsyncApi {
* @see KeystoneApi#getTokenApi()
*/
@Delegate
Optional<TokenAsyncApi> getTokenApi();
Optional<? extends TokenAsyncApi> getTokenApi();
/**
* @see KeystoneApi#getUserApi()
*/
@Delegate
Optional<UserAsyncApi> getUserApi();
Optional<? extends UserAsyncApi> getUserApi();
/**
* @see KeystoneApi#getTenantApi()
*/
@Delegate
Optional<TenantAsyncApi> getTenantApi();
Optional<? extends TenantAsyncApi> getTenantApi();
}

View File

@ -85,7 +85,7 @@ public class Network extends Reference {
@Override
public int hashCode() {
return Objects.hashCode(name);
return Objects.hashCode(super.hashCode(), name);
}
@Override