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