File tree Expand file tree Collapse file tree
main/java/com/ibm/cloud/sdk/core/http
test/java/com/ibm/cloud/sdk/core/test/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 <checkstyle-version >10.23.0</checkstyle-version >
2525 <jacoco-plugin-version >0.8.10</jacoco-plugin-version >
2626 <compiler-plugin-version >3.11.0</compiler-plugin-version >
27- <okhttp3-version >4.12.0 </okhttp3-version >
27+ <okhttp3-version >5.3.2 </okhttp3-version >
2828 <gson-version >2.13.1</gson-version >
2929 <commons-codec-version >1.18.0</commons-codec-version >
3030 <commons-io-version >2.19.0</commons-io-version >
Original file line number Diff line number Diff line change 1515
1616import okhttp3 .MediaType ;
1717import okhttp3 .RequestBody ;
18- import okhttp3 .internal .Util ;
18+ import okhttp3 .internal ._UtilCommonKt ;
1919import okio .BufferedSink ;
2020import okio .Okio ;
2121import okio .Source ;
@@ -98,7 +98,7 @@ public void writeTo(BufferedSink sink) throws IOException {
9898 }
9999 sink .writeAll (source );
100100 } finally {
101- Util .closeQuietly (source );
101+ _UtilCommonKt .closeQuietly (source );
102102 }
103103 }
104104}
Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ public void testFormBodyParamsWScope() throws Throwable {
537537 RecordedRequest tokenServerRequest = server .takeRequest ();
538538 assertNotNull (tokenServerRequest );
539539 String body = tokenServerRequest .getBody ().readUtf8 ();
540- String expectedBody = "grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&apikey=123456789&response_type=cloud_iam&scope=scope1%20scope2%20scope3 " ;
540+ String expectedBody = "grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&apikey=123456789&response_type=cloud_iam&scope=scope1+scope2+scope3 " ;
541541 assertEquals (expectedBody , body );
542542 }
543543
You can’t perform that action at this time.
0 commit comments