CPD Results

The following document contains the results of PMD's CPD 4.2.5.

Duplications

FileLine
org/apache/archiva/web/xmlrpc/api/beans/ManagedRepository.java70
org/apache/archiva/web/xmlrpc/api/beans/RemoteRepository.java64
        RemoteRepository that = (RemoteRepository) other;
        boolean result = true;
        result = result && ( getId() == null ? that.getId() == null : getId().equals( that.getId() ) );
        return result;
    } 
    
    public String getId()
    {
        return this.id;
    } 
    
    public String getLayout()
    {
        return this.layout;
    } 
    
    public String getName()
    {
        return this.name;
    } 
    
    public String getUrl()
    {
        return this.url;
    }
    
    public int hashCode()
    {
        int result = 17;
        result = 37 * result + ( id != null ? id.hashCode() : 0 );
        return result;
    }