From f2f64d1e809864cb4b24d1a1b1ebcea3681e9adf Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 23 Jun 2014 15:37:52 +0200 Subject: [PATCH] Wallet: move setTag to the extensions section of the file. --- .../main/java/com/google/bitcoin/core/Wallet.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 6e61c5e5..c9630a51 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -3588,6 +3588,12 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha } } + @Override + public synchronized void setTag(String tag, ByteString value) { + super.setTag(tag, value); + saveNow(); + } + ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Boilerplate for running event listeners - dispatches events onto the user code thread (where we don't do @@ -4105,10 +4111,4 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha public ReentrantLock getLock() { return lock; } - - @Override - public synchronized void setTag(String tag, ByteString value) { - super.setTag(tag, value); - saveNow(); - } }