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 | 211 |
StringBuilder path = new StringBuilder(128); if (!metadata.getGroupId().isEmpty()) { path.append(metadata.getGroupId().replace('.', '/')).append('/'); if (!metadata.getArtifactId().isEmpty()) { path.append(metadata.getArtifactId()).append('/'); if (!metadata.getVersion().isEmpty()) { path.append(metadata.getVersion()).append('/'); } } } path.append(insertRepositoryKey(metadata.getType(), repositoryKey)); |