Skip to content

Commit

Permalink
Version updates to POM.
Browse files Browse the repository at this point in the history
Corrected two style issues detected by "strict".  Corrected javadoc
spellings and other.
  • Loading branch information
Lee Rhodes committed May 23, 2016
1 parent c101514 commit 9a2e580
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
32 changes: 16 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down Expand Up @@ -116,7 +116,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
Expand Down Expand Up @@ -191,7 +191,7 @@
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.0.0</version>
<version>4.1.0</version>
<configuration>
<repoToken />
</configuration>
Expand Down Expand Up @@ -222,13 +222,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<version>3.0.0</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<version>2.10</version>
</plugin>

<plugin>
Expand All @@ -240,31 +240,31 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>2.1.1</version>
<version>2.2</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<version>2.5.2</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<version>3.0.0</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.2</version>
<version>2.5.3</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<version>2.6</version>
</plugin>

<plugin>
Expand All @@ -276,15 +276,15 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<version>1.5.0</version>
</plugin>

</plugins>
</pluginManagement>
</build>

<!-- This is optional -->
<profiles>

<profile>
<id>strict</id>
<build>
Expand All @@ -296,16 +296,16 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
<compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac-errorprone</artifactId>
<version>2.5</version>
<version>2.7</version>
</dependency>
</dependencies>
</plugin>
Expand All @@ -315,7 +315,7 @@
</build>
</profile>
</profiles>

<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/yahoo/sketches/memory/MemoryUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* </ul>
* 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.</p>
* The getCDF(*) works similarly, but produces the cumulative distribution instead.
*
* <p>The accuracy of this sketch is a function of the configured value <i>k</i>, which also affects
* the overall size of the sketch. Accuracy of this quantile sketch is always with respect to
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/yahoo/sketches/hll/HipHllSketchTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9a2e580

Please sign in to comment.