From d7ff9d5e217873609d79efe279f2634e3a3dd8b4 Mon Sep 17 00:00:00 2001 From: Yuuta Liang Date: Wed, 25 Oct 2023 03:30:45 +0800 Subject: Refactor: move all logics into CertificationAuthority Signed-off-by: Yuuta Liang --- src/test/model/csr/AttributesTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/model/csr/AttributesTest.java') diff --git a/src/test/model/csr/AttributesTest.java b/src/test/model/csr/AttributesTest.java index eebdbfb..5c40a65 100644 --- a/src/test/model/csr/AttributesTest.java +++ b/src/test/model/csr/AttributesTest.java @@ -59,7 +59,7 @@ public class AttributesTest { Byte[] a2 = TestConstants.CSR_ATTR_2.encodeDER(); Byte[] a1 = TestConstants.CSR_ATTR_1.encodeDER(); assertArrayEquals( - Stream.of(Arrays.asList(new Byte[]{0x31, (byte) (a2.length + a1.length)}), + Stream.of(Arrays.asList((byte) 0x31, (byte) (a2.length + a1.length)), Arrays.asList(a2), Arrays.asList(a1)) .flatMap(Collection::stream) -- cgit v1.2.3