Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2020-10-08 13:00:37 -0400
committerCarsten Hammer2020-10-24 10:59:37 -0400
commit157dd02e9aaee0631e8cfc0ee4a5e0e37968aaa4 (patch)
treee28160a699630e3babf7f792f81168d88563624f
parentc7becf2b0ca7c523cce92cbcab689a6d26617d69 (diff)
downloadrt.equinox.framework-157dd02e9aaee0631e8cfc0ee4a5e0e37968aaa4.tar.gz
rt.equinox.framework-157dd02e9aaee0631e8cfc0ee4a5e0e37968aaa4.tar.xz
rt.equinox.framework-157dd02e9aaee0631e8cfc0ee4a5e0e37968aaa4.zip
Change-Id: Ibba82884426e7e35df0c49d301ab1cea016a5f56 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedContentFile.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedContentFile.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedContentFile.java
index 60890c2b7..9d3bcb3d9 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedContentFile.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/signedcontent/SignedContentFile.java
@@ -16,8 +16,13 @@ package org.eclipse.osgi.internal.signedcontent;
import java.io.IOException;
import java.security.cert.CertificateExpiredException;
import java.security.cert.CertificateNotYetValidException;
-import java.util.*;
-import org.eclipse.osgi.signedcontent.*;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+import org.eclipse.osgi.signedcontent.InvalidContentException;
+import org.eclipse.osgi.signedcontent.SignedContent;
+import org.eclipse.osgi.signedcontent.SignedContentEntry;
+import org.eclipse.osgi.signedcontent.SignerInfo;
/*
* This class is used by the SignedContentFactory to create SignedContent objects from File objects. This is needed
@@ -47,8 +52,6 @@ public class SignedContentFile implements SignedContent {
@Override
public synchronized SignedContentEntry[] getSignedEntries() {
SignedContentEntry[] entries = signedContent.getSignedEntries();
- if (signedContent == null)
- return null;
SignedContentEntry[] results = new SignedContentEntry[entries.length];
Map<String, Throwable> exceptions = getEntryExceptions(true);
for (int i = 0; i < entries.length; i++) {

Back to the top