Skip to content

Commit 2399889

Browse files
Fix an issue with a missing dependency.
1 parent da4a71e commit 2399889

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pom.xml

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

77
<groupId>com.storakle.shopify</groupId>
88
<artifactId>shopify-api-java-wrapper</artifactId>
9-
<version>0.2.3</version>
9+
<version>0.2.5</version>
1010
<build>
1111
<sourceDirectory>src/main/java</sourceDirectory>
1212
<plugins>

src/main/java/com/storakle/shopify/jackson/ShopifyJacksonDecoder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.storakle.shopify.redisson.ShopifyRedissonManager;
44
import feign.Response;
55
import feign.jackson.JacksonDecoder;
6-
import org.assertj.core.util.Strings;
76
import org.redisson.api.RAtomicLong;
87
import org.redisson.api.RLock;
98
import org.redisson.api.RedissonClient;
@@ -28,7 +27,7 @@ public Object decode(Response response, Type type) throws IOException
2827

2928
String[] callLimitValues = shopifyApiCallLimitHeader.iterator().next().split("/");
3029

31-
if(!Strings.isNullOrEmpty(callLimitValues[0]))
30+
if(callLimitValues[0] != null && callLimitValues[0] != "")
3231
{
3332
Long createdCalls = Long.parseLong(callLimitValues[0]);
3433

0 commit comments

Comments
 (0)