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:
Olivier Lamy 2012-12-31 14:14:53 +00:00
parent a708c81320
commit 3b39e7d15b
1 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,8 @@ public class ArchivaArtifact
private String baseVersion;
private static final int PRIME = 31;
public ArchivaArtifact( String groupId, String artifactId, String version,
String classifier, String type, String repositoryId )
{
@ -146,7 +148,7 @@ public class ArchivaArtifact
@Override
public int hashCode()
{
final int PRIME = 31;
int result = 1;
if ( model != null )
{