Skip to content

Commit

Permalink
Merge pull request #4 from devinbileck/use-latest-guava-27
Browse files Browse the repository at this point in the history
Use latest guava 27
  • Loading branch information
ManfredKarrer authored May 20, 2019
2 parents 065d378 + 1bf76f1 commit fb933fd
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>network.bisq.btcd-cli4j</groupId>
<artifactId>btcd-cli4j-parent</artifactId>
<version>0.5.8.4</version>
<version>0.5.8.5</version>
</parent>
<artifactId>btcd-cli4j-core</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
package com.neemre.btcdcli4j.core;

public class BtcdCli4jVersion {
public static final String VERSION = "0.5.8.4";
}
public static final String VERSION = "0.5.8.5";
}
4 changes: 2 additions & 2 deletions daemon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>network.bisq.btcd-cli4j</groupId>
<artifactId>btcd-cli4j-parent</artifactId>
<version>0.5.8.4</version>
<version>0.5.8.5</version>
</parent>
<artifactId>btcd-cli4j-daemon</artifactId>
<packaging>jar</packaging>
Expand All @@ -28,7 +28,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>20.0</version>
<version>27.0.1-jre</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.util.concurrent.Future;
import java.util.function.Consumer;

import static com.google.common.util.concurrent.MoreExecutors.directExecutor;

public class BtcdDaemonImpl implements BtcdDaemon {

private static final Logger LOG = LoggerFactory.getLogger(BtcdDaemonImpl.class);
Expand Down Expand Up @@ -218,7 +220,7 @@ public void onFailure(Throwable throwable) {
if (errorHandler != null)
errorHandler.accept(throwable);
}
});
}, directExecutor());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;

import static com.google.common.util.concurrent.MoreExecutors.directExecutor;

public class NotificationMonitor extends Observable implements Observer, Callable<Void> {

private static final Logger LOG = LoggerFactory.getLogger(NotificationMonitor.class);
Expand Down Expand Up @@ -83,7 +85,7 @@ public void onFailure(Throwable throwable) {
if (errorHandler != null)
errorHandler.accept(throwable);
}
});
}, directExecutor());

LOG.trace("-- run(..): total no. of '{}' notifications received: '{}', task queue "
+ "occupancy: '{}/{}'", type.name(), executor.getTaskCount(),
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>network.bisq.btcd-cli4j</groupId>
<artifactId>btcd-cli4j-parent</artifactId>
<version>0.5.8.4</version>
<version>0.5.8.5</version>
</parent>
<artifactId>btcd-cli4j-examples</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>network.bisq.btcd-cli4j</groupId>
<artifactId>btcd-cli4j-parent</artifactId>
<version>0.5.8.4</version>
<version>0.5.8.5</version>
<packaging>pom</packaging>

<name>btcd-cli4j Parent</name>
Expand Down

0 comments on commit fb933fd

Please sign in to comment.