mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Reduce blank lines
This commit is contained in:
@@ -38,12 +38,11 @@ import static org.junit.Assert.assertTrue;
|
||||
*/
|
||||
public class ChannelReplicationTest {
|
||||
|
||||
Set<Thread> threads;
|
||||
private ChronicleMap<Integer, CharSequence> map1a;
|
||||
private ChronicleMap<Integer, CharSequence> map2a;
|
||||
|
||||
private ChronicleMap<Integer, CharSequence> map1b;
|
||||
private ChronicleMap<Integer, CharSequence> map2b;
|
||||
|
||||
private ReplicationHub hubA;
|
||||
private ReplicationHub hubB;
|
||||
|
||||
@@ -92,8 +91,6 @@ public class ChannelReplicationTest {
|
||||
System.gc();
|
||||
}
|
||||
|
||||
Set<Thread> threads;
|
||||
|
||||
@Before
|
||||
public void sampleThreads() {
|
||||
threads = Thread.getAllStackTraces().keySet();
|
||||
@@ -136,7 +133,6 @@ public class ChannelReplicationTest {
|
||||
* @param timeOutMs timeout in milliseconds
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
|
||||
private void waitTillEqual(final int timeOutMs) throws InterruptedException {
|
||||
for (int t = 0; t < timeOutMs; t++) {
|
||||
if (map1a.equals(map1b) &&
|
||||
|
||||
@@ -141,7 +141,6 @@ public class PostChannelCreationTest {
|
||||
* @param timeOutMs timeout in milliseconds
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
|
||||
private void waitTillEqual(final int timeOutMs) throws InterruptedException {
|
||||
for (int t = 0; t < timeOutMs; t++) {
|
||||
if (map1a.equals(map1b) &&
|
||||
|
||||
@@ -132,7 +132,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
assertTrue(m.containsKey(new DI(i)));
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* TODO : fix test
|
||||
* Elements of classes with erased generic type parameters based
|
||||
@@ -157,7 +156,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Elements of non-comparable classes equal to those of classes
|
||||
* with erased generic type parameters based on Comparable can be
|
||||
@@ -176,7 +174,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* get returns the correct element at the given key, or null if not present
|
||||
*/
|
||||
@@ -259,7 +256,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
}
|
||||
assertEquals(5, count);
|
||||
}*/
|
||||
|
||||
/**
|
||||
* entrySet.toArray contains all entries
|
||||
*/
|
||||
@@ -303,7 +299,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
}
|
||||
assertEquals(5, count);
|
||||
}*/
|
||||
|
||||
/**
|
||||
* entrySet contains all pairs
|
||||
*/
|
||||
@@ -528,7 +523,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
} catch (IllegalArgumentException success) {
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* TODO : Cannot create with negative concurrency level
|
||||
*/
|
||||
@@ -539,7 +533,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
} catch (IllegalArgumentException success) {
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* TODO :Cannot create with only negative capacity
|
||||
*/
|
||||
@@ -550,7 +543,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
} catch (IllegalArgumentException success) {
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* replace(null, x) throws NPE
|
||||
*/
|
||||
@@ -588,7 +580,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
} catch (NullPointerException success) {
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* todo : contains(null) throws NPE
|
||||
*/
|
||||
@@ -602,7 +593,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* putIfAbsent(x, null) throws NPE
|
||||
*/
|
||||
@@ -788,7 +778,6 @@ public class ReplicatedChronicleMapTest extends JSR166TestCase {
|
||||
assertEquals(x, y);
|
||||
assertEquals(y, x);
|
||||
}*/
|
||||
|
||||
/**
|
||||
* TODO : SetValue of an EntrySet entry sets value in the map.
|
||||
*/
|
||||
|
||||
@@ -114,7 +114,6 @@ public class SingleMapChannelTest {
|
||||
* @param timeOutMs timeout in milliseconds
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
|
||||
private void waitTillEqual(final int timeOutMs) throws InterruptedException {
|
||||
for (int t = 0; t < timeOutMs; t++) {
|
||||
if (map1a.equals(map1b))
|
||||
|
||||
@@ -38,6 +38,7 @@ import static org.junit.Assert.assertTrue;
|
||||
@Ignore
|
||||
public class TCPSocketReplication4WayMapTest {
|
||||
|
||||
Set<Thread> threads;
|
||||
private ChronicleMap<Integer, CharSequence> map1;
|
||||
private ChronicleMap<Integer, CharSequence> map2;
|
||||
private ChronicleMap<Integer, CharSequence> map3;
|
||||
@@ -75,8 +76,6 @@ public class TCPSocketReplication4WayMapTest {
|
||||
System.gc();
|
||||
}
|
||||
|
||||
Set<Thread> threads;
|
||||
|
||||
@Before
|
||||
public void sampleThreads() {
|
||||
threads = Thread.getAllStackTraces().keySet();
|
||||
@@ -147,7 +146,6 @@ public class TCPSocketReplication4WayMapTest {
|
||||
* @param timeOutMs timeout in milliseconds
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
|
||||
private void waitTillEqual(final int timeOutMs) throws InterruptedException {
|
||||
int t = 0;
|
||||
for (; t < timeOutMs; t++) {
|
||||
|
||||
@@ -29,11 +29,9 @@ public interface BondVOInterface {
|
||||
long getIssueDate();
|
||||
|
||||
void setIssueDate(long issueDate); /* time in millis */
|
||||
|
||||
long getMaturityDate();
|
||||
|
||||
void setMaturityDate(long maturityDate); /* time in millis */
|
||||
|
||||
long addAtomicMaturityDate(long toAdd);
|
||||
|
||||
boolean compareAndSwapCoupon(double expected, double value);
|
||||
@@ -57,7 +55,6 @@ public interface BondVOInterface {
|
||||
…,
|
||||
* index_6 = 4.30pm
|
||||
*/
|
||||
|
||||
MarketPx getMarketPxIntraDayHistoryAt(int tradingDayHour);
|
||||
|
||||
/* nested interface - empowering an Off-Heap hierarchical “TIER of prices”
|
||||
|
||||
@@ -682,7 +682,6 @@ public class ChronicleMapTest extends JSR166TestCase {
|
||||
assertEquals(x, y);
|
||||
assertEquals(y, x);
|
||||
}*/
|
||||
|
||||
/**
|
||||
* TODO : SetValue of an EntrySet entry sets value in the map.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user