Change access of max connections constant to private in tests

This commit is contained in:
Ivan Vilata-i-Balaguer 2016-05-06 10:26:29 +02:00
parent fd37b8999b
commit f0b0b69b24
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import java.util.concurrent.CountDownLatch;
// Run it once then lookup for onion address at: tor/hiddenservice/hostname and use that for the NodeAddress param.
public class PeerServiceTest {
private static final Logger log = LoggerFactory.getLogger(PeerServiceTest.class);
public static final int MAX_CONNECTIONS = 100;
private static final int MAX_CONNECTIONS = 100;
final boolean useLocalhost = true;
private CountDownLatch latch;

View File

@ -26,7 +26,7 @@ import java.util.concurrent.CountDownLatch;
@Ignore
public class PeerManagerTest {
private static final Logger log = LoggerFactory.getLogger(PeerManagerTest.class);
public static final int MAX_CONNECTIONS = 100;
private static final int MAX_CONNECTIONS = 100;
final boolean useLocalhost = true;
private CountDownLatch latch;