From 59f66f8ef962f9fee10a6cfa41992ccc4d78e5b5 Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Tue, 26 Apr 2016 11:41:37 +0200 Subject: [PATCH] Some comments to separate declarations --- .../io/bitsquare/p2p/network/NetworkStressTest.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java index 630abe6f86..60651c6da7 100644 --- a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java +++ b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java @@ -34,11 +34,18 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; public class NetworkStressTest { - /** Numeric identifier of the regtest Bitcoin network. */ - private static final int REGTEST_NETWORK_ID = 2; + // Test parameters + /** Number of peer nodes to create. */ private static final int NPEERS = 1; + // Constants + + /** Numeric identifier of the regtest Bitcoin network. */ + private static final int REGTEST_NETWORK_ID = 2; + + // Instance fields + /** A directory to temporarily hold seed and normal nodes' configuration and state files. */ private Path tempDir; /** A single seed node that other nodes will contact to request initial data. */