mirror of https://github.com/apache/archiva.git
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:
parent
b521fd00d2
commit
200a649b36
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue