From 28fa18278c1f3a87722d5e8b78f581526a30bb38 Mon Sep 17 00:00:00 2001 From: Yuuta Liang Date: Sat, 14 Oct 2023 05:35:17 +0800 Subject: Fix lint Signed-off-by: Yuuta Liang --- src/main/model/asn1/UTF8String.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/model/asn1/UTF8String.java') diff --git a/src/main/model/asn1/UTF8String.java b/src/main/model/asn1/UTF8String.java index e6b101e..932a415 100644 --- a/src/main/model/asn1/UTF8String.java +++ b/src/main/model/asn1/UTF8String.java @@ -5,7 +5,6 @@ import model.asn1.parsing.BytesReader; import ui.Utils; import java.nio.charset.StandardCharsets; -import java.util.Arrays; /** * Represents an ASN.1 UTF8String type. It accepts any UTF-8 chars. Because UTF-8 character set is large and its chars @@ -19,7 +18,7 @@ public class UTF8String extends ASN1String { /** * EFFECTS: Constructs a UTF8String with the given tag and string. - * Throws {@link ParseException} if the string is illegal. + * Throws {@link ParseException} if the string is illegal. * REQUIRES: For the requirements of tag and parentTag, consult {@link ASN1Object}. */ public UTF8String(Tag tag, Tag parentTag, String string) throws ParseException { @@ -29,7 +28,7 @@ public class UTF8String extends ASN1String { /** * EFFECTS: Parse from user input. Tags are parsed as-per {@link ASN1Object}. The value will be parsed as UTF-8 big * endian. - * Throws {@link ParseException} if the encoded data is invalid. + * Throws {@link ParseException} if the encoded data is invalid. * MODIFIES: this, encoded */ public UTF8String(BytesReader encoded, boolean hasParentTag) throws ParseException, IllegalArgumentException { -- cgit v1.2.3