Skip to content

Commit

Permalink
Merge pull request #208 from trevorbernard/eclipse
Browse files Browse the repository at this point in the history
Update pom.xml and code improvement
  • Loading branch information
ipechorin committed Oct 26, 2014
2 parents 74b07cc + 7f101ac commit 6a780a0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
37 changes: 33 additions & 4 deletions pom.xml
Expand Up @@ -48,7 +48,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -61,7 +61,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<version>2.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -74,7 +74,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
Expand Down Expand Up @@ -132,12 +132,41 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<version>2.5.1</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<versionRange>[2.11,)</versionRange>
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
Expand Down
8 changes: 1 addition & 7 deletions src/main/java/org/zeromq/ZFrame.java
Expand Up @@ -303,14 +303,8 @@ public boolean equals(Object o)
if (o == null || getClass() != o.getClass()) {
return false;
}

ZFrame zFrame = (ZFrame) o;

if (!Arrays.equals(data, zFrame.data)) {
return false;
}

return true;
return Arrays.equals(data, zFrame.data);
}

@Override
Expand Down

0 comments on commit 6a780a0

Please sign in to comment.