Skip to content

Commit 38f6a15

Browse files
committed
Merge branch 'master' into develop
2 parents ceff1ce + 0dab9ae commit 38f6a15

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
42

53
<parent>
64
<groupId>info.unterrainer.commons</groupId>
@@ -10,7 +8,7 @@
108

119
<modelVersion>4.0.0</modelVersion>
1210
<artifactId>rest-client</artifactId>
13-
<version>0.1.0</version>
11+
<version>0.1.2</version>
1412
<name>RestClient</name>
1513
<packaging>jar</packaging>
1614

@@ -26,7 +24,7 @@
2624
<dependency>
2725
<groupId>info.unterrainer.commons</groupId>
2826
<artifactId>serialization</artifactId>
29-
<version>0.2.0</version>
27+
<version>0.2.3</version>
3028
</dependency>
3129
<dependency>
3230
<groupId>com.squareup.okhttp3</groupId>

src/main/java/info/unterrainer/commons/restclient/BaseBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import info.unterrainer.commons.restclient.RestClient.HttpGetCall;
1616
import info.unterrainer.commons.restclient.exceptions.RestClientException;
1717
import info.unterrainer.commons.restclient.jsons.ListJson;
18-
import info.unterrainer.commons.serialization.JsonMapper;
18+
import info.unterrainer.commons.serialization.jsonmapper.JsonMapper;
1919
import lombok.AccessLevel;
2020
import lombok.RequiredArgsConstructor;
2121
import lombok.extern.slf4j.Slf4j;
@@ -203,12 +203,12 @@ public T execute() {
203203
url += "?" + params;
204204

205205
switch (retry) {
206-
case SHORT:
207-
return client.retryShort(provide(url, type, javaType, headers));
208-
case ENDURING:
209-
return client.retryEnduring(provide(url, type, javaType, headers));
210-
default:
211-
return client.once(provide(url, type, javaType, headers));
206+
case SHORT:
207+
return client.retryShort(provide(url, type, javaType, headers));
208+
case ENDURING:
209+
return client.retryEnduring(provide(url, type, javaType, headers));
210+
default:
211+
return client.once(provide(url, type, javaType, headers));
212212
}
213213
}
214214

src/main/java/info/unterrainer/commons/restclient/RestClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.concurrent.TimeUnit;
66

77
import info.unterrainer.commons.restclient.exceptions.RestClientException;
8-
import info.unterrainer.commons.serialization.JsonMapper;
8+
import info.unterrainer.commons.serialization.jsonmapper.JsonMapper;
99
import lombok.experimental.Accessors;
1010
import lombok.extern.slf4j.Slf4j;
1111
import okhttp3.Call;

src/test/java/info/unterrainer/commons/restclient/BuilderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.junit.jupiter.api.Test;
55

66
import info.unterrainer.commons.restclient.jsons.MessageJson;
7-
import info.unterrainer.commons.serialization.JsonMapper;
7+
import info.unterrainer.commons.serialization.jsonmapper.JsonMapper;
88

99
public class BuilderTests {
1010

src/test/java/info/unterrainer/commons/restclient/KeycloakContextTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import info.unterrainer.commons.restclient.jsons.EliteUserJson;
77
import info.unterrainer.commons.restclient.jsons.ListJson;
8-
import info.unterrainer.commons.serialization.JsonMapper;
8+
import info.unterrainer.commons.serialization.jsonmapper.JsonMapper;
99

1010
public class KeycloakContextTests {
1111

0 commit comments

Comments
 (0)