File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
commercetools-apachehttp-client/src/main/java/com/commercetools/http/apachehttp
commercetools-sdk-java-api/src/integrationTest/java/commercetools
rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2020import org .apache .hc .client5 .http .async .methods .SimpleBody ;
2121import org .apache .hc .client5 .http .async .methods .SimpleHttpResponse ;
2222import org .apache .hc .client5 .http .async .methods .SimpleResponseConsumer ;
23- import org .apache .hc .client5 .http .classic .HttpClient ;
2423import org .apache .hc .client5 .http .impl .async .CloseableHttpAsyncClient ;
2524import org .apache .hc .client5 .http .impl .async .HttpAsyncClientBuilder ;
2625import org .apache .hc .client5 .http .impl .nio .PoolingAsyncClientConnectionManagerBuilder ;
@@ -72,7 +71,9 @@ private void init() {
7271 }
7372
7473 public static String clientVersion () {
75- return "ApacheHttpAsyncClient/" + VersionInfo .loadVersionInfo ("org.apache.hc.client5" , HttpAsyncClient .class .getClassLoader ()).getRelease ();
74+ return "ApacheHttpAsyncClient/"
75+ + VersionInfo .loadVersionInfo ("org.apache.hc.client5" , HttpAsyncClient .class .getClassLoader ())
76+ .getRelease ();
7677 }
7778
7879 public CtApacheHttpClient () {
Original file line number Diff line number Diff line change 88import java .util .concurrent .ExecutionException ;
99import java .util .concurrent .atomic .AtomicInteger ;
1010
11- import com .commercetools .api .client .ApiRoot ;
1211import com .commercetools .api .client .ProjectApiRoot ;
1312import com .commercetools .api .defaultconfig .ApiRootBuilder ;
1413import com .commercetools .api .defaultconfig .ServiceRegion ;
Original file line number Diff line number Diff line change @@ -745,8 +745,10 @@ public static String buildDefaultUserAgent() {
745745 Method method = clazz .getMethod ("clientVersion" );
746746 httpClient = " " + method .invoke (null ).toString ();
747747 }
748- catch (ClassNotFoundException | NoSuchMethodException | InvocationTargetException | IllegalAccessException ignored ) {
748+ catch (ClassNotFoundException | NoSuchMethodException | InvocationTargetException
749+ | IllegalAccessException ignored ) {
749750 }
750- return userAgent + sdkVersion + " " + " Java/" + runtimeVersion + " (" + osName + "; " + osArch + ")" + httpClient ;
751+ return userAgent + sdkVersion + " " + " Java/" + runtimeVersion + " (" + osName + "; " + osArch + ")"
752+ + httpClient ;
751753 }
752754}
You can’t perform that action at this time.
0 commit comments