Skip to content

Commit 215f279

Browse files
Perform clean code of bundles/org.eclipse.equinox.p2.artifact.repository
1 parent 6aa0d3e commit 215f279

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

bundles/org.eclipse.equinox.p2.artifact.repository/META-INF/MANIFEST.MF

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@ Require-Bundle: org.eclipse.equinox.common;bundle-version="[3.18.0,4.0.0)",
3939
org.tukaani.xz;bundle-version="1.3.0"
4040
Import-Package: javax.xml.parsers,
4141
org.bouncycastle.bcpg;version="1.65.0",
42-
org.bouncycastle.jce.provider;version="1.65.1",
4342
org.bouncycastle.openpgp;version="1.65.0",
4443
org.bouncycastle.openpgp.bc;version="1.65.0",
4544
org.bouncycastle.openpgp.jcajce;version="1.65.0",
4645
org.bouncycastle.openpgp.operator;version="1.65.0",
4746
org.bouncycastle.openpgp.operator.bc;version="1.65.0",
48-
org.bouncycastle.openpgp.operator.jcajce;version="1.65.0",
4947
org.eclipse.core.runtime.jobs,
5048
org.eclipse.equinox.internal.p2.core.helpers,
51-
org.eclipse.equinox.internal.p2.jarprocessor,
5249
org.eclipse.equinox.internal.p2.metadata,
5350
org.eclipse.equinox.internal.p2.persistence,
5451
org.eclipse.equinox.internal.p2.repository,
@@ -61,12 +58,10 @@ Import-Package: javax.xml.parsers,
6158
org.eclipse.equinox.p2.repository.artifact;version="[2.1.0,3)",
6259
org.eclipse.equinox.p2.repository.artifact.spi;version="[2.0.0,3.0.0)",
6360
org.eclipse.equinox.p2.repository.spi;version="[2.0.0,3.0.0)",
64-
org.eclipse.internal.provisional.equinox.p2.jarprocessor;resolution:=optional,
6561
org.eclipse.osgi.service.datalocation;version="[1.3.0,2.0.0)",
6662
org.eclipse.osgi.signedcontent;version="1.0.0",
6763
org.eclipse.osgi.util;version="1.1.0",
6864
org.osgi.framework;version="1.3.0",
69-
org.osgi.service.prefs;version="1.1.1",
7065
org.w3c.dom,
7166
org.xml.sax;resolution:=optional
7267
Service-Component: OSGI-INF/org.eclipse.equinox.internal.p2.artifact.repository.DefaultArtifactManagerServiceFactory.xml,

bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/md5/MD5Verifier.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,23 @@
3030
@Deprecated
3131
public class MD5Verifier extends MessageDigestProcessingStep {
3232

33+
@Deprecated
3334
protected String expectedMD5;
3435

36+
@Deprecated
3537
public MD5Verifier() {
3638
super();
3739
}
3840

41+
@Deprecated
3942
public MD5Verifier(String expected) {
4043
super();
4144
this.expectedMD5 = expected;
4245
basicInitialize(null);
4346
}
4447

4548
//This handle the case where the MD5 verification is initiated by a processing step
49+
@Deprecated
4650
@Override
4751
public void initialize(IProvisioningAgent agent, IProcessingStepDescriptor descriptor, IArtifactDescriptor context) {
4852
super.initialize(agent, descriptor, context);
@@ -69,6 +73,7 @@ private void basicInitialize(IProcessingStepDescriptor descriptor) {
6973
}
7074
}
7175

76+
@Deprecated
7277
@Override
7378
protected void onClose(String digestString) {
7479
// if the hashes don't line up set the status to error.

bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/processors/pgp/PGPPublicKeyStore.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ public static Set<PGPPublicKey> readPublicKeys(InputStream input) throws IOExcep
8989
return readPublicKeys(new String(input.readAllBytes(), StandardCharsets.US_ASCII));
9090
}
9191

92-
@SuppressWarnings("unchecked")
9392
public static Set<PGPPublicKey> readPublicKeys(String armoredPublicKeyring) {
9493
if (armoredPublicKeyring == null) {
9594
return Set.of();

0 commit comments

Comments
 (0)