Skip to content

Commit a7b31ed

Browse files
committed
PDFBOX-5660: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924830 13f79535-47bb-0310-9956-ffa450edef68
1 parent 88623e7 commit a7b31ed

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
import java.security.NoSuchAlgorithmException;
4949
import java.security.SecureRandom;
5050
import java.security.Security;
51-
import java.security.UnrecoverableKeyException;
5251
import java.security.cert.Certificate;
5352
import java.security.cert.CertificateException;
5453
import java.security.cert.CertificateFactory;
@@ -454,18 +453,14 @@ void testCreateVisibleSignature2(boolean externallySign)
454453
* been signed before.
455454
*
456455
* @throws IOException
457-
* @throws NoSuchAlgorithmException
458-
* @throws CertificateException
459-
* @throws UnrecoverableKeyException
460456
* @throws CMSException
461457
* @throws OperatorCreationException
462458
* @throws GeneralSecurityException
463459
* @throws TSPException
464460
* @throws CertificateVerificationException
465461
*/
466462
@Test
467-
void testPDFBox3978() throws IOException, NoSuchAlgorithmException,
468-
CertificateException, UnrecoverableKeyException,
463+
void testPDFBox3978() throws IOException,
469464
CMSException, OperatorCreationException, GeneralSecurityException,
470465
TSPException, CertificateVerificationException
471466
{

0 commit comments

Comments
 (0)