diff --git a/memory/src/main/java/com/yahoo/memory/Memory.java b/memory/src/main/java/com/yahoo/memory/Memory.java index 3e47cd903..1b64897f3 100644 --- a/memory/src/main/java/com/yahoo/memory/Memory.java +++ b/memory/src/main/java/com/yahoo/memory/Memory.java @@ -14,7 +14,7 @@ * The methods of this interface leverage the capabilities of the sun.misc.Unsafe class. * *
In contrast to the java.nio.ByteBuffer classes, which were designed for native - * streaming I/O and include concepts such as position, limit, mark, flip, and rewind, + * streaming I/O and include concepts such as position, limit, mark, flip and rewind, * this interface specifically bypasses these concepts and instead provides a rich collection of * primitive, bit, array and copy methods that access the data directly from a single byte offset. * diff --git a/sketches/src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java b/sketches/src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java index 41ee5f905..e5a263b95 100644 --- a/sketches/src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java +++ b/sketches/src/main/java/com/yahoo/sketches/quantiles/DoublesUpdateImpl.java @@ -13,7 +13,7 @@ * @author Lee Rhodes * @author Kevin Lang */ -public class DoublesUpdateImpl { +class DoublesUpdateImpl { static void growBaseBuffer(final DoublesSketch sketch) { //n has not been incremented yet final double[] baseBuffer = sketch.getCombinedBuffer(); //in this case it is just the BB diff --git a/sketches/src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java b/sketches/src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java index 4ba25fd41..1fd249dc0 100644 --- a/sketches/src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java +++ b/sketches/src/main/java/com/yahoo/sketches/sampling/SamplingUtil.java @@ -7,7 +7,7 @@ * * @author Jon Malkin */ -public class SamplingUtil { +class SamplingUtil { public static final Random rand = new Random();