aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/asn1/UTF8String.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/model/asn1/UTF8String.java')
-rw-r--r--src/main/model/asn1/UTF8String.java5
1 files changed, 2 insertions, 3 deletions
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 {