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/ASN1String.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/main/model/asn1/ASN1String.java') diff --git a/src/main/model/asn1/ASN1String.java b/src/main/model/asn1/ASN1String.java index 148c564..ef7f07b 100644 --- a/src/main/model/asn1/ASN1String.java +++ b/src/main/model/asn1/ASN1String.java @@ -2,7 +2,6 @@ package model.asn1; import model.asn1.exceptions.ParseException; import model.asn1.parsing.BytesReader; -import ui.Utils; import java.nio.charset.StandardCharsets; @@ -15,8 +14,8 @@ public abstract class ASN1String extends ASN1Object { /** * EFFECTS: Constructs an ASN1String with the given tag, parent tag, and string. - * - Throws {@link ParseException} if the string does not pass corresponding restrictions of the specific - * string type (same as {@link ASN1String#validate(String)}) + * - Throws {@link ParseException} if the string does not pass corresponding restrictions of the specific + * string type (same as {@link ASN1String#validate(String)}) * REQUIRES: For the requirements of tag and parentTag, consult {@link ASN1Object}. */ public ASN1String(Tag tag, Tag parentTag, String string) throws ParseException { @@ -26,10 +25,10 @@ public abstract class ASN1String extends ASN1Object { /** * EFFECTS: Parse the input value. See {@link ASN1Object} with the rawString. - * Throws {@link ParseException} when invalid: - * - String does not pass type restrictions - * - Early EOF - * - Other cases as seen in {@link ASN1Object} + * Throws {@link ParseException} when invalid: + * - String does not pass type restrictions + * - Early EOF + * - Other cases as seen in {@link ASN1Object} * MODIFIES: this, encoded (bytes are read) */ public ASN1String(BytesReader encoded, boolean hasParentTag) throws ParseException { @@ -38,7 +37,7 @@ public abstract class ASN1String extends ASN1Object { /** * EFFECTS: Validate and set the string. - * Throws {@link ParseException} if the string is invalid. + * Throws {@link ParseException} if the string is invalid. * MODIFIES: this */ protected void setString(String rawString) throws ParseException { -- cgit v1.2.3