diff --git a/src/main/java/net/openhft/chronicle/map/impl/stage/entry/MapEntryStages.java b/src/main/java/net/openhft/chronicle/map/impl/stage/entry/MapEntryStages.java index dd4826e70..0c167463d 100644 --- a/src/main/java/net/openhft/chronicle/map/impl/stage/entry/MapEntryStages.java +++ b/src/main/java/net/openhft/chronicle/map/impl/stage/entry/MapEntryStages.java @@ -165,10 +165,10 @@ public abstract class MapEntryStages extends HashEntryStages // bytes.writeLong(state); // boolean newValueSizeIsPowerOf2 = ((newValueSize - 1L) & newValueSize) != 0; // if (!newValueSizeIsPowerOf2 || newValueSize > 8L) { -// // if the new value size is 1, 2, 4, or 8, it is written not atomically only if -// // the user provided own marshaller and writes value byte-by-byte, that is very -// // unlikely. in this case the user should update acquire write lock before write -// // updates himself +// if the new value size is 1, 2, 4, or 8, it is written not atomically only if +// the user provided own marshaller and writes value byte-by-byte, that is very +// unlikely. in this case the user should update acquire write lock before write +// updates himself // upgradeToWriteLock(); // } } diff --git a/src/test/java/net/openhft/chronicle/map/LargeEntriesTest.java b/src/test/java/net/openhft/chronicle/map/LargeEntriesTest.java index fc5b9fe61..feec12dec 100644 --- a/src/test/java/net/openhft/chronicle/map/LargeEntriesTest.java +++ b/src/test/java/net/openhft/chronicle/map/LargeEntriesTest.java @@ -86,7 +86,7 @@ public class LargeEntriesTest { // String value = generateValue(entrySize); // DirectBytes bytes = DirectStore.allocate(entrySize / 6).bytes(); // for (int i = 0; i < 5; i++) { -// // warmup to compression. +// warmup to compression. // bytes.clear(); // SnappyStringMarshaller.INSTANCE.write(bytes, value); // bytes.flip();