From ec1504f9dce17f8ad529b41eed03222eb6307ba9 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 28 Feb 2013 17:52:32 +0100 Subject: [PATCH] Remove another java7-ism. --- core/src/main/java/com/google/bitcoin/core/Wallet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/bitcoin/core/Wallet.java b/core/src/main/java/com/google/bitcoin/core/Wallet.java index e2f1ebe1..0182ed70 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -20,6 +20,7 @@ import com.google.bitcoin.core.TransactionConfidence.ConfidenceType; import com.google.bitcoin.core.WalletTransaction.Pool; import com.google.bitcoin.store.WalletProtobufSerializer; import com.google.bitcoin.utils.EventListenerInvoker; +import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; @@ -497,7 +498,7 @@ public class Wallet implements Serializable, BlockChainListener { @Override public int hashCode() { - return Objects.hash(wallet, startTimeMs, requestedDelayMs); + return Objects.hashCode(wallet, startTimeMs, requestedDelayMs); } } }