CPD Results
The following document contains the results of PMD's CPD 6.55.0.
Duplications
File | Line |
---|---|
org/eclipse/aether/internal/impl/DefaultLocalPathComposer.java | 72 |
org/eclipse/aether/internal/impl/Maven2RepositoryLayoutFactory.java | 196 |
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)); |