File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
src/main/java/com/ibm/cloud/sdk/core Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 246
246
<artifactId >maven-compiler-plugin</artifactId >
247
247
<version >${compiler-plugin-version} </version >
248
248
<configuration >
249
- <source >1.8 </source >
250
- <target >1.8 </target >
249
+ <source >1.7 </source >
250
+ <target >1.7 </target >
251
251
</configuration >
252
252
</plugin >
253
253
<plugin >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public interface ServiceCall<T> {
44
44
*
45
45
* @param callback the callback
46
46
*/
47
- void enqueue (ServiceCallback <? super T > callback );
47
+ void enqueue (ServiceCallback <T > callback );
48
48
49
49
/**
50
50
* Reactive request using the RxJava 2 library. See https://github.com/ReactiveX/RxJava. In addition, the wrapped
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ public com.ibm.cloud.sdk.core.http.Response<T> execute() {
490
490
}
491
491
492
492
@ Override
493
- public void enqueue (final ServiceCallback <? super T > callback ) {
493
+ public void enqueue (final ServiceCallback <T > callback ) {
494
494
call .enqueue (new Callback () {
495
495
@ Override
496
496
public void onFailure (Call call , IOException e ) {
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ private boolean isRefreshTokenExpired() {
182
182
* @param request the request for the IAM API
183
183
* @return object containing requested IAM token information
184
184
*/
185
- private IamToken callIamApi (Request request ) {
185
+ private IamToken callIamApi (final Request request ) {
186
186
final IamToken [] returnToken = new IamToken [1 ];
187
187
188
188
Thread iamApiCall = new Thread (new Runnable () {
You can’t perform that action at this time.
0 commit comments