From b1d019499ac625b94840657d90595f23830305ec Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Wed, 10 Dec 2008 00:54:26 +0000 Subject: [PATCH] Add @Override git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-search-improvements@724944 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/archiva/model/ArchivaArtifact.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/maven/archiva/model/ArchivaArtifact.java b/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/maven/archiva/model/ArchivaArtifact.java index 54bf1a828..9da58c4ec 100644 --- a/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/maven/archiva/model/ArchivaArtifact.java +++ b/archiva-modules/archiva-base/archiva-model/src/main/java/org/apache/maven/archiva/model/ArchivaArtifact.java @@ -131,6 +131,7 @@ public class ArchivaArtifact return StringUtils.isNotEmpty( model.getClassifier() ); } + @Override public int hashCode() { final int PRIME = 31; @@ -146,6 +147,7 @@ public class ArchivaArtifact return result; } + @Override public boolean equals( Object obj ) { if ( this == obj ) @@ -180,6 +182,7 @@ public class ArchivaArtifact return true; } + @Override public String toString() { StringBuffer sb = new StringBuffer(); -- 2.39.5