mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Tidy newlines
This commit is contained in:
@@ -43,5 +43,4 @@ public final class PosixFallocate {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -133,5 +133,4 @@ abstract class ContinuedFraction {
|
||||
|
||||
return hN;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -580,6 +580,5 @@ class Gamma {
|
||||
assert x <= 1.5;
|
||||
return -Math.log1p(invGamma1pm1(x));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -238,7 +238,6 @@ public interface ChronicleMap<K, V> extends ConcurrentMap<K, V>,
|
||||
throw new UnsupportedOperationException("todo");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The maximum number of times, the chronicle map is allowed to grow in size beyond
|
||||
* the configured number of entries.
|
||||
@@ -254,6 +253,5 @@ public interface ChronicleMap<K, V> extends ConcurrentMap<K, V>,
|
||||
default double maxBloatFactor() {
|
||||
throw new UnsupportedOperationException("todo");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -2040,5 +2040,4 @@ public final class ChronicleMapBuilder<K, V> implements
|
||||
this.worstAlignment = worstAlignment;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -183,5 +183,4 @@ public final class FileLockUtil {
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -217,6 +217,5 @@ public interface Replica extends Closeable {
|
||||
*/
|
||||
void readExternalEntry(@NotNull Bytes source, byte remoteNodeIdentifier);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -287,5 +287,4 @@ public enum ZeroBytesStore implements BytesStore<ZeroBytesStore, Void> {
|
||||
public long write8bit(long position, String s, int start, int length) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -17,5 +17,4 @@ public enum AnalyticsHolder {;
|
||||
public static AnalyticsFacade instance() {
|
||||
return ANALYTICS;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -43,5 +43,4 @@ public final class AnalyticsMain {
|
||||
.entries(1_000)
|
||||
.create();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -151,6 +151,5 @@ class AbstractChronicleMapConverter<K, V> implements Converter {
|
||||
reader.moveUp();
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -35,5 +35,4 @@ public class CleanerUtilsTest {
|
||||
|
||||
assertTrue(latch.await(1, TimeUnit.SECONDS));
|
||||
}
|
||||
|
||||
}
|
||||
-1
@@ -24,5 +24,4 @@ public class SerializableDataAccessTest {
|
||||
SerializableTest.Foo foo = sda.getUsing(null);
|
||||
assertEquals(expected, foo.x);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -94,5 +94,4 @@ public class AcquireGetUsingMain {
|
||||
|
||||
void setMaxNumberOfProcessesAllowed(int num);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -64,5 +64,4 @@ public class AutoResizeTest {
|
||||
Assert.assertNotEquals(0.0, actual);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -43,5 +43,4 @@ public class BloatFactorTest {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -51,5 +51,4 @@ public class BuildVersionTest {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -53,5 +53,4 @@ public class CHMTestIterator1 {
|
||||
System.out.println("Average iteration time was " + time / runs / 1e3 + "us, for " + runs / 1e6 + "m entries");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -61,7 +61,6 @@ enum ToString implements SerializableFunction<Object, String> {
|
||||
public String apply(Object o) {
|
||||
return String.valueOf(o);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface IData extends BytesMarshallable {
|
||||
|
||||
@@ -1917,6 +1917,5 @@ public class ChronicleMapTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -281,5 +281,4 @@ public class EntryCountMapTest {
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -119,5 +119,4 @@ public class FileLockUtilTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -45,5 +45,4 @@ public class Issue125Test {
|
||||
shaToNodeBuilder.createPersistedTo(cacheRoot);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -53,5 +53,4 @@ public class Issue62ChronicleClient {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -67,5 +67,4 @@ public class Issue62ChronicleServer {
|
||||
Jvm.pause(15000);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -101,7 +101,6 @@ public class MapCloseTest {
|
||||
map.remainingAutoResizes();
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void vanillaChronicleHashAllContextsExpungeTest() throws InterruptedException {
|
||||
VanillaChronicleMap<Integer, Integer, Void> map =
|
||||
|
||||
@@ -354,5 +354,4 @@ public class ReplicationCheckingMap<K, V> implements ChronicleMap<K, V> {
|
||||
interface Call<K, V> {
|
||||
Object method(ConcurrentMap<K, V> map);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -58,5 +58,4 @@ public class StringArrayExample {
|
||||
|
||||
void setCharSequence(@MaxUtf8Length(6) CharSequence charSequence);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -422,5 +422,4 @@ public class ChronicleAcidIsolationGovernor implements ChronicleAcidIsolation {
|
||||
public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -37,5 +37,4 @@ public class DirtyReadTolerance<K, V> {
|
||||
);
|
||||
//.create();
|
||||
}
|
||||
|
||||
}
|
||||
-1
@@ -29,5 +29,4 @@ public class PingPongAddRight {
|
||||
|
||||
playPingPong(chm, -1, false, "PingPongAddRIGHT");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -700,6 +700,5 @@ public class ChronicleMapTest extends JSR166TestCase {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -229,5 +229,4 @@ class LoopHelpers {
|
||||
return endTime - startTime;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -744,5 +744,4 @@ public class MapCheck {
|
||||
number += n;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -612,5 +612,4 @@ public class ProcessInstanceLimiter implements Runnable {
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -73,5 +73,4 @@ public class Builder {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user