mirror of https://github.com/apache/jclouds.git
Add missed Optional covariant return types for Keystone
This commit is contained in:
parent
8b1a48b2e0
commit
1eee03ee1f
|
@ -68,17 +68,17 @@ public interface KeystoneApi {
|
||||||
* Provides synchronous access to Token features
|
* Provides synchronous access to Token features
|
||||||
*/
|
*/
|
||||||
@Delegate
|
@Delegate
|
||||||
Optional<TokenApi> getTokenApi();
|
Optional<? extends TokenApi> getTokenApi();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides synchronous access to User features
|
* Provides synchronous access to User features
|
||||||
*/
|
*/
|
||||||
@Delegate
|
@Delegate
|
||||||
Optional<UserApi> getUserApi();
|
Optional<? extends UserApi> getUserApi();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides synchronous access to Tenant features
|
* Provides synchronous access to Tenant features
|
||||||
*/
|
*/
|
||||||
@Delegate
|
@Delegate
|
||||||
Optional<TenantApi> getTenantApi();
|
Optional<? extends TenantApi> getTenantApi();
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,17 +71,17 @@ public interface KeystoneAsyncApi {
|
||||||
* @see KeystoneApi#getTokenApi()
|
* @see KeystoneApi#getTokenApi()
|
||||||
*/
|
*/
|
||||||
@Delegate
|
@Delegate
|
||||||
Optional<TokenAsyncApi> getTokenApi();
|
Optional<? extends TokenAsyncApi> getTokenApi();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see KeystoneApi#getUserApi()
|
* @see KeystoneApi#getUserApi()
|
||||||
*/
|
*/
|
||||||
@Delegate
|
@Delegate
|
||||||
Optional<UserAsyncApi> getUserApi();
|
Optional<? extends UserAsyncApi> getUserApi();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see KeystoneApi#getTenantApi()
|
* @see KeystoneApi#getTenantApi()
|
||||||
*/
|
*/
|
||||||
@Delegate
|
@Delegate
|
||||||
Optional<TenantAsyncApi> getTenantApi();
|
Optional<? extends TenantAsyncApi> getTenantApi();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue