aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/asn1/ASN1Time.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/ASN1Time.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/ASN1Time.java')
-rw-r--r--src/main/model/asn1/ASN1Time.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/model/asn1/ASN1Time.java b/src/main/model/asn1/ASN1Time.java
index 08f861e..8f386f5 100644
--- a/src/main/model/asn1/ASN1Time.java
+++ b/src/main/model/asn1/ASN1Time.java
@@ -29,10 +29,10 @@ public abstract class ASN1Time extends ASN1Object {
/**
* EFFECTS: Parse and decode DER bytes into the corresponding time type. For more info on decoding, take a look at
* {@link ASN1Object}.
- * Throws {@link ParseException} if the input is invalid:
- * - Invalid date format
- * - Zero length
- * - Other circumstances (e.g., early EOF) as seen in {@link ASN1Object}
+ * Throws {@link ParseException} if the input is invalid:
+ * - Invalid date format
+ * - Zero length
+ * - Other circumstances (e.g., early EOF) as seen in {@link ASN1Object}
* MODIFIES: this, encoded
*/
public ASN1Time(BytesReader encoded, boolean hasParentTag) throws ParseException {
@@ -50,7 +50,7 @@ public abstract class ASN1Time extends ASN1Object {
/**
* EFFECTS: Convert the given string into corresponding timestamp.
- * Throws {@link ParseException} if the time is malformed.
+ * Throws {@link ParseException} if the time is malformed.
*/
public abstract ZonedDateTime toDate(String str) throws ParseException;