CPD Results
The following document contains the results of PMD's CPD 6.55.0.
Duplications
| File | Line |
|---|---|
| org/apache/maven/repository/internal/DefaultVersionRangeResolver.java | 197 |
| org/apache/maven/repository/internal/DefaultVersionResolver.java | 239 |
VersionRangeResult result) {
Versioning versioning = null;
try {
if (metadata != null) {
try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) {
syncContext.acquire(null, Collections.singleton(metadata));
if (metadata.getFile() != null && metadata.getFile().exists()) {
try (InputStream in =
Files.newInputStream(metadata.getFile().toPath())) {
versioning = new Versioning(
new MetadataStaxReader().read(in, false).getVersioning()); | |


