Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.1.2-jre</version>
<version>33.7.1-jre</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/io/ipinfo/api/IPinfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.BiConsumer;
import javax.annotation.ParametersAreNonnullByDefault;
import okhttp3.*;

public class IPinfo {
Expand Down Expand Up @@ -306,13 +305,11 @@ private ConcurrentHashMap<String, Object> getBatchGeneric(
chunkClient.newCall(req).enqueue(
new Callback() {
@Override
@ParametersAreNonnullByDefault
public void onFailure(Call call, IOException e) {
latch.countDown();
}

@Override
@ParametersAreNonnullByDefault
public void onResponse(Call call, Response response)
throws IOException {
// the body is closed before the latch counts down,
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/ipinfo/api/IPinfoLite.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.function.BiConsumer;
import javax.annotation.ParametersAreNonnullByDefault;
import okhttp3.*;

public class IPinfoLite {
Expand Down
Loading