Add @Override annotations

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James William Dumay 2009-02-09 23:58:48 +00:00
parent b521fd00d2
commit 200a649b36
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,7 @@ public class AbstractProjectKey
/**
* Get the String representation of this object. - Required by JPOX.
*/
@Override
public String toString()
{
return StringUtils.join( new String[] { groupId, artifactId } );
@ -121,6 +122,7 @@ public class AbstractProjectKey
/**
* Get the hashcode for this object's values - Required by JPOX.
*/
@Override
public int hashCode()
{
final int PRIME = 31;
@ -133,6 +135,7 @@ public class AbstractProjectKey
/**
* Get the equals for this object's values - Required by JPOX.
*/
@Override
public boolean equals( Object obj )
{
if ( this == obj )