From 9a2e580a6dd8331df3f9559eaf07a8a37e494cca Mon Sep 17 00:00:00 2001
From: Lee Rhodes
Date: Mon, 23 May 2016 11:56:58 -0700
Subject: [PATCH] Version updates to POM.
Corrected two style issues detected by "strict". Corrected javadoc
spellings and other.
---
pom.xml | 32 +++++++++----------
.../com/yahoo/sketches/memory/MemoryUtil.java | 2 ++
.../sketches/quantiles/QuantilesSketch.java | 2 +-
.../yahoo/sketches/hll/HipHllSketchTest.java | 2 +-
4 files changed, 20 insertions(+), 18 deletions(-)
diff --git a/pom.xml b/pom.xml
index ebb3561c4..25eafc8e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@
org.apache.maven.pluginsmaven-source-plugin
- 2.4
+ 3.0.0attach-sources
@@ -116,7 +116,7 @@
org.sonatype.pluginsnexus-staging-maven-plugin
- 1.6.5
+ 1.6.7truesonatype-nexus-staging
@@ -191,7 +191,7 @@
org.eluder.coverallscoveralls-maven-plugin
- 4.0.0
+ 4.1.0
@@ -222,13 +222,13 @@
org.apache.maven.pluginsmaven-clean-plugin
- 2.5
+ 3.0.0org.apache.maven.pluginsmaven-dependency-plugin
- 2.8
+ 2.10
@@ -240,31 +240,31 @@
org.apache.maven.pluginsmaven-help-plugin
- 2.1.1
+ 2.2org.apache.maven.pluginsmaven-install-plugin
- 2.3.1
+ 2.5.2org.apache.maven.pluginsmaven-resources-plugin
- 2.5
+ 3.0.0org.apache.maven.pluginsmaven-release-plugin
- 2.5.2
+ 2.5.3org.apache.maven.pluginsmaven-assembly-plugin
- 2.4
+ 2.6
@@ -276,15 +276,15 @@
org.codehaus.mojoexec-maven-plugin
- 1.2.1
+ 1.5.0
+
-
strict
@@ -296,8 +296,8 @@
maven-compiler-plugin3.5.1
-
- 1.7
+
+ 1.8javac-with-errorpronetrue
@@ -305,7 +305,7 @@
org.codehaus.plexusplexus-compiler-javac-errorprone
- 2.5
+ 2.7
@@ -315,7 +315,7 @@
-
+
sonatype-nexus-staging
diff --git a/src/main/java/com/yahoo/sketches/memory/MemoryUtil.java b/src/main/java/com/yahoo/sketches/memory/MemoryUtil.java
index dcb45411d..5b3c38131 100644
--- a/src/main/java/com/yahoo/sketches/memory/MemoryUtil.java
+++ b/src/main/java/com/yahoo/sketches/memory/MemoryUtil.java
@@ -16,6 +16,7 @@ public final class MemoryUtil {
private MemoryUtil() {}
/**
+ *
* @deprecated this method was moved to
* {@link NativeMemory#copy(Memory, long, Memory, long, long)}
* @param source the source Memory
@@ -24,6 +25,7 @@ private MemoryUtil() {}
* @param dstOffsetBytes the destination offset
* @param lengthBytes the number of bytes to copy
*/
+ @Deprecated
public static void copy(Memory source, long srcOffsetBytes, Memory destination,
long dstOffsetBytes, long lengthBytes) {
NativeMemory.copy(source, srcOffsetBytes, destination, dstOffsetBytes, lengthBytes);
diff --git a/src/main/java/com/yahoo/sketches/quantiles/QuantilesSketch.java b/src/main/java/com/yahoo/sketches/quantiles/QuantilesSketch.java
index 9708ebb41..a4abe986a 100644
--- a/src/main/java/com/yahoo/sketches/quantiles/QuantilesSketch.java
+++ b/src/main/java/com/yahoo/sketches/quantiles/QuantilesSketch.java
@@ -35,7 +35,7 @@
*
* A frequency histogram can be obtained by simply multiplying these fractions by getN(),
* which is the total count of values received.
- * The getCDF(*) works similarly, but produces the cumulative distribution instead.
+ * The getCDF(*) works similarly, but produces the cumulative distribution instead.
*
*
The accuracy of this sketch is a function of the configured value k, which also affects
* the overall size of the sketch. Accuracy of this quantile sketch is always with respect to
diff --git a/src/test/java/com/yahoo/sketches/hll/HipHllSketchTest.java b/src/test/java/com/yahoo/sketches/hll/HipHllSketchTest.java
index d0481e200..68a06f17f 100644
--- a/src/test/java/com/yahoo/sketches/hll/HipHllSketchTest.java
+++ b/src/test/java/com/yahoo/sketches/hll/HipHllSketchTest.java
@@ -37,7 +37,7 @@ public void testNoUnion()
HllSketchBuilder bob = HllSketch.builder().setLogBuckets(10).setHipEstimator(true);
HllSketch sketch = bob.build();
- sketch.update(new long[]{182748912741928l});
+ sketch.update(new long[]{182748912741928L});
boolean exceptionCaught = false;
HllSketch unionInto = bob.build();