File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
src/main/java/info/unterrainer/commons/restclient Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >info.unterrainer.commons</groupId >
77 <artifactId >parent-pom</artifactId >
8- <version >0.1.26 </version >
8+ <version >0.2.1 </version >
99 </parent >
1010
1111 <modelVersion >4.0.0</modelVersion >
1212 <artifactId >rest-client</artifactId >
13- <version >0.0.17 </version >
13+ <version >0.1.0 </version >
1414 <name >RestClient</name >
1515 <packaging >jar</packaging >
1616
2626 <dependency >
2727 <groupId >info.unterrainer.commons</groupId >
2828 <artifactId >serialization</artifactId >
29- <version >0.1.9 </version >
29+ <version >0.2.0 </version >
3030 </dependency >
3131 <dependency >
3232 <groupId >com.squareup.okhttp3</groupId >
Original file line number Diff line number Diff line change 88import java .util .Map ;
99import java .util .stream .Collectors ;
1010
11- import org .mapstruct .ap .internal .util .Strings ;
12-
1311import com .fasterxml .jackson .core .type .TypeReference ;
1412import com .fasterxml .jackson .databind .JavaType ;
1513import com .fasterxml .jackson .databind .type .TypeFactory ;
@@ -196,12 +194,11 @@ public R retryEnduring() {
196194 * @return the return value of type you specified when you created this builder.
197195 */
198196 public T execute () {
199- String url = Strings .join (this . url . stream (). map ( e -> cutLeadingTrailing ( "/" , e )). collect ( Collectors . toList ()) ,
200- "/" );
197+ String url = String .join ("/" ,
198+ this . url . stream (). map ( e -> cutLeadingTrailing ( "/" , e )). collect ( Collectors . toList ()) );
201199
202- String params = Strings .join (
203- parameters .entrySet ().stream ().map (e -> e .getKey () + "=" + e .getValue ()).collect (Collectors .toList ()),
204- "&" );
200+ String params = String .join ("&" ,
201+ parameters .entrySet ().stream ().map (e -> e .getKey () + "=" + e .getValue ()).collect (Collectors .toList ()));
205202 if (!params .isBlank ())
206203 url += "?" + params ;
207204
You can’t perform that action at this time.
0 commit comments