Remove unnecessary @SuppressWarnings

pull/81/head
Richard Körber 2019-01-12 15:27:26 +01:00
parent 0b81b67f3d
commit 1e28356116
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
1 changed files with 0 additions and 1 deletions

View File

@ -145,7 +145,6 @@ public class CSRBuilderTest {
* {@link PKCS10CertificationRequest} contains the right parameters, we assume that * {@link PKCS10CertificationRequest} contains the right parameters, we assume that
* Bouncy Castle encodes it properly. * Bouncy Castle encodes it properly.
*/ */
@SuppressWarnings("unchecked")
private void csrTest(PKCS10CertificationRequest csr) { private void csrTest(PKCS10CertificationRequest csr) {
X500Name name = csr.getSubject(); X500Name name = csr.getSubject();
assertThat(name.getRDNs(BCStyle.CN), arrayContaining(new RDNMatcher("abc.de"))); assertThat(name.getRDNs(BCStyle.CN), arrayContaining(new RDNMatcher("abc.de")));