mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Remove double and triple blank lines
This commit is contained in:
@@ -493,7 +493,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
segmentHash, replaceIfPresent, readValue, resultUnused);
|
||||
}
|
||||
|
||||
|
||||
enum LockType {READ_LOCK, WRITE_LOCK}
|
||||
|
||||
@Override
|
||||
@@ -698,7 +697,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
|
||||
}
|
||||
|
||||
|
||||
private XStreamConverter xStreamConverter;
|
||||
|
||||
/**
|
||||
@@ -709,7 +707,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
(xStreamConverter = new XStreamConverter());
|
||||
}
|
||||
|
||||
|
||||
private class XStreamConverter {
|
||||
private Bytes buffer;
|
||||
|
||||
@@ -849,7 +846,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public final WriteContext<K, V> acquireUsingLocked(@NotNull K key, @NotNull V usingValue) {
|
||||
@@ -975,7 +971,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
key, keySizeMarshaller.readSize(key));
|
||||
}
|
||||
|
||||
|
||||
private <KB, KBI, MKBI extends MetaBytesInterop<KB, ? super KBI>>
|
||||
boolean containsKey(ThreadLocalCopies copies,
|
||||
MKBI metaKeyInterop, KBI keyInterop, KB key, long keySize) {
|
||||
@@ -1170,7 +1165,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
readValueToLazyBytes, false);
|
||||
}
|
||||
|
||||
|
||||
private <KB, KBI, MKBI extends MetaBytesInterop<KB, ? super KBI>,
|
||||
RV, VB extends RV, VBI, MVBI extends MetaBytesInterop<? super VB, ? super VBI>>
|
||||
Object remove(ThreadLocalCopies copies, SegmentState segmentState,
|
||||
@@ -1496,7 +1490,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
assert booleanResult || expectedValue == null;
|
||||
}
|
||||
|
||||
|
||||
// these methods should be package local, not public or private.
|
||||
class Segment implements SharedSegment {
|
||||
/*
|
||||
@@ -1564,7 +1557,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
return index;
|
||||
}
|
||||
|
||||
|
||||
/* Methods with private access modifier considered private to Segment
|
||||
* class, although Java allows to access them from outer class anyway.
|
||||
*/
|
||||
@@ -2437,7 +2429,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
|
||||
return new WriteThroughEntry(key, value);
|
||||
}
|
||||
|
||||
|
||||
boolean isDeleted(long pos) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user