Cody tidy and optimise the tracing code.

This commit is contained in:
Peter Lawrey
2020-06-18 13:17:58 +01:00
parent b167ec59eb
commit 8dfc91b1eb
15 changed files with 260 additions and 145 deletions
@@ -330,8 +330,7 @@ public final class ChronicleMapBuilder<K, V> implements
return valueBuilder.sizeIsStaticallyKnown;
}
private static void checkSegments(long segments) {
private static void checkSegments(long segments) {
if (segments <= 0) {
throw new IllegalArgumentException("segments should be positive, " +
segments + " given");