Skip to content

Commit 85e453b

Browse files
manandbytesakurtakov
authored andcommitted
Delete unused and deprecated MD5ArtifactComparator
...as there are no usages in production code since Jan'2021 [1], when MirrorApplication switched to use ArtifactChecksumComparator. [1] c173ee7
1 parent 36d3313 commit 85e453b

3 files changed

Lines changed: 2 additions & 82 deletions

File tree

bundles/org.eclipse.equinox.p2.repository.tools/plugin.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,6 @@
117117
</application>
118118
</extension>
119119

120-
<extension point="org.eclipse.equinox.p2.artifact.repository.artifactComparators">
121-
<artifactComparator
122-
class="org.eclipse.equinox.p2.internal.repository.comparator.MD5ArtifactComparator"
123-
id="org.eclipse.equinox.artifact.md5.comparator">
124-
</artifactComparator>
125-
</extension>
126120
<extension point="org.eclipse.equinox.p2.artifact.repository.artifactComparators">
127121
<artifactComparator
128122
class="org.eclipse.equinox.p2.internal.repository.comparator.ArtifactChecksumComparator"

bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/MD5ArtifactComparator.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/repository/tools/comparator/ArtifactComparatorFactory.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
import org.eclipse.core.runtime.RegistryFactory;
2424
import org.eclipse.equinox.internal.p2.artifact.processors.checksum.ChecksumUtilities;
2525
import org.eclipse.equinox.internal.p2.artifact.repository.Messages;
26-
import org.eclipse.equinox.p2.internal.repository.comparator.*;
26+
import org.eclipse.equinox.p2.internal.repository.comparator.ArtifactChecksumComparator;
27+
import org.eclipse.equinox.p2.internal.repository.comparator.JarComparator;
2728
import org.eclipse.osgi.util.NLS;
2829

2930
/**
@@ -39,8 +40,6 @@ public class ArtifactComparatorFactory {
3940
* <ul>
4041
* <li><code>org.eclipse.equinox.p2.repository.tools.jar.comparator</code> for
4142
* {@link JarComparator}</li>
42-
* <li><code>org.eclipse.equinox.artifact.md5.comparator</code> for
43-
* {@link MD5ArtifactComparator}</li>
4443
* </ul>
4544
*
4645
* For {@link ArtifactChecksumComparator}, there is no static id that could be

0 commit comments

Comments
 (0)