mirror of https://github.com/shred/acme4j
Remove unnecessary @SuppressWarnings
parent
0b81b67f3d
commit
1e28356116
|
@ -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")));
|
||||||
|
|
Loading…
Reference in New Issue