mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-21 16:16:27 -04:00
Remove unused function for test progress reporting
This commit is contained in:
parent
16e2e03a98
commit
123928a7a2
@ -102,15 +102,7 @@ public class NetworkStressTest {
|
||||
System.exit(result.wasSuccessful() ? 0 : 1);
|
||||
}
|
||||
|
||||
/** Return a string of a character repeated a number of times. */
|
||||
private static String nChars(char c, int n) {
|
||||
String ret = "";
|
||||
for (int i = 0; i < n; i++)
|
||||
ret += c;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/** Print a progress bar based on the given character. */
|
||||
/** Print a progress indicator based on the given character. */
|
||||
private void printProgress(char c, int n) {
|
||||
if (n < 1)
|
||||
return; // nothing to represent
|
||||
@ -124,7 +116,7 @@ public class NetworkStressTest {
|
||||
System.out.flush();
|
||||
}
|
||||
|
||||
/** Decrease latch count and print pending as a progress bar based on the given character. */
|
||||
/** Decrease latch count and print a progress indicator based on the given character. */
|
||||
private void countDownAndPrint(CountDownLatch latch, char c) {
|
||||
latch.countDown();
|
||||
printProgress(c, (int)latch.getCount());
|
||||
|
Loading…
x
Reference in New Issue
Block a user