mirror of https://github.com/apache/archiva.git
move this to a static final
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a708c81320
commit
3b39e7d15b
|
@ -35,6 +35,8 @@ public class ArchivaArtifact
|
||||||
|
|
||||||
private String baseVersion;
|
private String baseVersion;
|
||||||
|
|
||||||
|
private static final int PRIME = 31;
|
||||||
|
|
||||||
public ArchivaArtifact( String groupId, String artifactId, String version,
|
public ArchivaArtifact( String groupId, String artifactId, String version,
|
||||||
String classifier, String type, String repositoryId )
|
String classifier, String type, String repositoryId )
|
||||||
{
|
{
|
||||||
|
@ -146,7 +148,7 @@ public class ArchivaArtifact
|
||||||
@Override
|
@Override
|
||||||
public int hashCode()
|
public int hashCode()
|
||||||
{
|
{
|
||||||
final int PRIME = 31;
|
|
||||||
int result = 1;
|
int result = 1;
|
||||||
if ( model != null )
|
if ( model != null )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue