mirror of https://github.com/apache/maven.git
parent
828de7e1a8
commit
7a1cc12a47
|
@ -909,11 +909,7 @@ public class MavenProject implements Cloneable {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int hash = 17;
|
||||
hash = 31 * hash + getGroupId().hashCode();
|
||||
hash = 31 * hash + getArtifactId().hashCode();
|
||||
hash = 31 * hash + getVersion().hashCode();
|
||||
return hash;
|
||||
return Objects.hash(getGroupId(), getArtifactId(), getVersion());
|
||||
}
|
||||
|
||||
public List<Extension> getBuildExtensions() {
|
||||
|
|
Loading…
Reference in New Issue