CPD Results
The following document contains the results of PMD's CPD 6.42.0.
Duplications
File | Line |
---|---|
org\eclipse\aether\internal\impl\DefaultLocalPathComposer.java | 81 |
org\eclipse\aether\internal\impl\Maven2RepositoryLayoutFactory.java | 230 |
StringBuilder path = new StringBuilder( 128 ); if ( metadata.getGroupId().length() > 0 ) { path.append( metadata.getGroupId().replace( '.', '/' ) ).append( '/' ); if ( metadata.getArtifactId().length() > 0 ) { path.append( metadata.getArtifactId() ).append( '/' ); if ( metadata.getVersion().length() > 0 ) { path.append( metadata.getVersion() ).append( '/' ); } } } path.append( insertRepositoryKey( metadata.getType(), repositoryKey ) ); |