以下文档包含 PMD 的 CPD 5.6.1 的结果。
| 文件 | 线 |
|---|---|
| org\apache\maven\resolver\internal\ant\types\Mirror.java | 61 |
| org\apache\maven\resolver\internal\ant\types\RemoteRepository.java | 101 |
throw tooManyAttributes();
}
super.setRefid( ref );
}
public String getId()
{
if ( isReference() )
{
return getRef().getId();
}
return id;
}
public void setId( String id )
{
this.id = id;
}
public String getUrl()
{
if ( isReference() )
{
return getRef().getUrl();
}
return url;
}
public void setUrl( String url )
{
checkAttributesAllowed();
this.url = url;
}
public String getType()
{
if ( isReference() )
{
return getRef().getType();
}
return ( type != null ) ? type : "default";
}
public void setType( String type )
{
checkAttributesAllowed();
this.type = type;
}
public String getMirrorOf() | |