aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/asn1/PrintableString.java
diff options
context:
space:
mode:
authorYuuta Liang <yuutaw@students.cs.ubc.ca>2023-10-14 05:35:17 +0800
committerYuuta Liang <yuutaw@students.cs.ubc.ca>2023-10-14 05:35:17 +0800
commit28fa18278c1f3a87722d5e8b78f581526a30bb38 (patch)
tree2f23f6e2e222a78f40809ec37e8b28a29cba3d3c /src/main/model/asn1/PrintableString.java
parent0bcc057e741af3fbc108f42b75f9d42f48f6a51e (diff)
downloadjca-28fa18278c1f3a87722d5e8b78f581526a30bb38.tar
jca-28fa18278c1f3a87722d5e8b78f581526a30bb38.tar.gz
jca-28fa18278c1f3a87722d5e8b78f581526a30bb38.tar.bz2
jca-28fa18278c1f3a87722d5e8b78f581526a30bb38.zip
Fix lint
Signed-off-by: Yuuta Liang <yuutaw@students.cs.ubc.ca>
Diffstat (limited to 'src/main/model/asn1/PrintableString.java')
-rw-r--r--src/main/model/asn1/PrintableString.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/model/asn1/PrintableString.java b/src/main/model/asn1/PrintableString.java
index 73e33a6..b17ecbe 100644
--- a/src/main/model/asn1/PrintableString.java
+++ b/src/main/model/asn1/PrintableString.java
@@ -17,7 +17,7 @@ public class PrintableString extends ASN1String {
/**
* EFFECTS: Constructs with the given string.
- * Throws {@link ParseException} if the given string is illegal (contains chars out of the PrintableString set).
+ * Throws {@link ParseException} if the given string is illegal (contains chars out of the PrintableString set).
* REQUIRES: For the requirements of tag and parentTag, consult {@link ASN1Object}.
*/
public PrintableString(Tag tag, Tag parentTag, String rawString) throws ParseException {
@@ -27,9 +27,9 @@ public class PrintableString 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:
- * - Early EOF and other cases in {@link ASN1Object}
- * - Illegal string: Contains non-printable chars
+ * Throws {@link ParseException} if the encoded data is invalid:
+ * - Early EOF and other cases in {@link ASN1Object}
+ * - Illegal string: Contains non-printable chars
* MODIFIES: this, encoded
*/
public PrintableString(BytesReader encoded, boolean hasParentTag) throws ParseException {