Skip to content

Commit 9a2e580

Browse files
author
Lee Rhodes
committed
Version updates to POM.
Corrected two style issues detected by "strict". Corrected javadoc spellings and other.
1 parent c101514 commit 9a2e580

4 files changed

Lines changed: 20 additions & 18 deletions

File tree

pom.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<plugin>
6767
<groupId>org.apache.maven.plugins</groupId>
6868
<artifactId>maven-source-plugin</artifactId>
69-
<version>2.4</version>
69+
<version>3.0.0</version>
7070
<executions>
7171
<execution>
7272
<id>attach-sources</id>
@@ -116,7 +116,7 @@
116116
<plugin>
117117
<groupId>org.sonatype.plugins</groupId>
118118
<artifactId>nexus-staging-maven-plugin</artifactId>
119-
<version>1.6.5</version>
119+
<version>1.6.7</version>
120120
<extensions>true</extensions>
121121
<configuration>
122122
<serverId>sonatype-nexus-staging</serverId>
@@ -191,7 +191,7 @@
191191
<plugin>
192192
<groupId>org.eluder.coveralls</groupId>
193193
<artifactId>coveralls-maven-plugin</artifactId>
194-
<version>4.0.0</version>
194+
<version>4.1.0</version>
195195
<configuration>
196196
<repoToken />
197197
</configuration>
@@ -222,13 +222,13 @@
222222
<plugin>
223223
<groupId>org.apache.maven.plugins</groupId>
224224
<artifactId>maven-clean-plugin</artifactId>
225-
<version>2.5</version>
225+
<version>3.0.0</version>
226226
</plugin>
227227

228228
<plugin>
229229
<groupId>org.apache.maven.plugins</groupId>
230230
<artifactId>maven-dependency-plugin</artifactId>
231-
<version>2.8</version>
231+
<version>2.10</version>
232232
</plugin>
233233

234234
<plugin>
@@ -240,31 +240,31 @@
240240
<plugin>
241241
<groupId>org.apache.maven.plugins</groupId>
242242
<artifactId>maven-help-plugin</artifactId>
243-
<version>2.1.1</version>
243+
<version>2.2</version>
244244
</plugin>
245245

246246
<plugin>
247247
<groupId>org.apache.maven.plugins</groupId>
248248
<artifactId>maven-install-plugin</artifactId>
249-
<version>2.3.1</version>
249+
<version>2.5.2</version>
250250
</plugin>
251251

252252
<plugin>
253253
<groupId>org.apache.maven.plugins</groupId>
254254
<artifactId>maven-resources-plugin</artifactId>
255-
<version>2.5</version>
255+
<version>3.0.0</version>
256256
</plugin>
257257

258258
<plugin>
259259
<groupId>org.apache.maven.plugins</groupId>
260260
<artifactId>maven-release-plugin</artifactId>
261-
<version>2.5.2</version>
261+
<version>2.5.3</version>
262262
</plugin>
263263

264264
<plugin>
265265
<groupId>org.apache.maven.plugins</groupId>
266266
<artifactId>maven-assembly-plugin</artifactId>
267-
<version>2.4</version>
267+
<version>2.6</version>
268268
</plugin>
269269

270270
<plugin>
@@ -276,15 +276,15 @@
276276
<plugin>
277277
<groupId>org.codehaus.mojo</groupId>
278278
<artifactId>exec-maven-plugin</artifactId>
279-
<version>1.2.1</version>
279+
<version>1.5.0</version>
280280
</plugin>
281281

282282
</plugins>
283283
</pluginManagement>
284284
</build>
285285

286+
<!-- This is optional -->
286287
<profiles>
287-
288288
<profile>
289289
<id>strict</id>
290290
<build>
@@ -296,16 +296,16 @@
296296
<artifactId>maven-compiler-plugin</artifactId>
297297
<version>3.5.1</version>
298298
<configuration>
299-
<source>1.7</source>
300-
<target>1.7</target>
299+
<source>1.8</source>
300+
<target>1.8</target>
301301
<compilerId>javac-with-errorprone</compilerId>
302302
<forceJavacCompilerUse>true</forceJavacCompilerUse>
303303
</configuration>
304304
<dependencies>
305305
<dependency>
306306
<groupId>org.codehaus.plexus</groupId>
307307
<artifactId>plexus-compiler-javac-errorprone</artifactId>
308-
<version>2.5</version>
308+
<version>2.7</version>
309309
</dependency>
310310
</dependencies>
311311
</plugin>
@@ -315,7 +315,7 @@
315315
</build>
316316
</profile>
317317
</profiles>
318-
318+
319319
<distributionManagement>
320320
<repository>
321321
<id>sonatype-nexus-staging</id>

src/main/java/com/yahoo/sketches/memory/MemoryUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public final class MemoryUtil {
1616
private MemoryUtil() {}
1717

1818
/**
19+
*
1920
* @deprecated this method was moved to
2021
* {@link NativeMemory#copy(Memory, long, Memory, long, long)}
2122
* @param source the source Memory
@@ -24,6 +25,7 @@ private MemoryUtil() {}
2425
* @param dstOffsetBytes the destination offset
2526
* @param lengthBytes the number of bytes to copy
2627
*/
28+
@Deprecated
2729
public static void copy(Memory source, long srcOffsetBytes, Memory destination,
2830
long dstOffsetBytes, long lengthBytes) {
2931
NativeMemory.copy(source, srcOffsetBytes, destination, dstOffsetBytes, lengthBytes);

src/main/java/com/yahoo/sketches/quantiles/QuantilesSketch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* </ul>
3636
* A frequency histogram can be obtained by simply multiplying these fractions by getN(),
3737
* which is the total count of values received.
38-
* The getCDF(*) works similarly, but produces the cumulative distribution instead.</p>
38+
* The getCDF(*) works similarly, but produces the cumulative distribution instead.
3939
*
4040
* <p>The accuracy of this sketch is a function of the configured value <i>k</i>, which also affects
4141
* the overall size of the sketch. Accuracy of this quantile sketch is always with respect to

src/test/java/com/yahoo/sketches/hll/HipHllSketchTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void testNoUnion()
3737
HllSketchBuilder bob = HllSketch.builder().setLogBuckets(10).setHipEstimator(true);
3838

3939
HllSketch sketch = bob.build();
40-
sketch.update(new long[]{182748912741928l});
40+
sketch.update(new long[]{182748912741928L});
4141

4242
boolean exceptionCaught = false;
4343
HllSketch unionInto = bob.build();

0 commit comments

Comments
 (0)