From 1c8f869ed6bef92c450c90e02953f11642637059 Mon Sep 17 00:00:00 2001 From: Christoph Sturm Date: Fri, 6 Sep 2019 16:20:53 +0200 Subject: [PATCH] Only build string when its actually output --- .../main/java/bisq/network/p2p/storage/P2PDataStorage.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java b/p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java index c392362f76b..be956d0fb04 100644 --- a/p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java +++ b/p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java @@ -49,7 +49,6 @@ import bisq.common.Timer; import bisq.common.UserThread; -import bisq.common.app.Log; import bisq.common.crypto.CryptoException; import bisq.common.crypto.Hash; import bisq.common.crypto.Sig; @@ -58,9 +57,9 @@ import bisq.common.proto.persistable.PersistablePayload; import bisq.common.proto.persistable.PersistedDataHost; import bisq.common.storage.Storage; +import bisq.common.util.Hex; import bisq.common.util.Tuple2; import bisq.common.util.Utilities; -import bisq.common.util.Hex; import com.google.protobuf.ByteString; @@ -87,8 +86,6 @@ import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; -import org.slf4j.LoggerFactory; - import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; @@ -804,7 +801,7 @@ private Map getPurgedSequenceNumberMap(Map