diff options
author | Yuuta Liang <yuutaw@students.cs.ubc.ca> | 2023-10-14 05:35:17 +0800 |
---|---|---|
committer | Yuuta Liang <yuutaw@students.cs.ubc.ca> | 2023-10-14 05:35:17 +0800 |
commit | 28fa18278c1f3a87722d5e8b78f581526a30bb38 (patch) | |
tree | 2f23f6e2e222a78f40809ec37e8b28a29cba3d3c /src/main/model/asn1/parsing | |
parent | 0bcc057e741af3fbc108f42b75f9d42f48f6a51e (diff) | |
download | jca-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/parsing')
-rw-r--r-- | src/main/model/asn1/parsing/BytesReader.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/model/asn1/parsing/BytesReader.java b/src/main/model/asn1/parsing/BytesReader.java index 3e11ea6..2a865d8 100644 --- a/src/main/model/asn1/parsing/BytesReader.java +++ b/src/main/model/asn1/parsing/BytesReader.java @@ -44,7 +44,7 @@ public class BytesReader { /** * EFFECTS: Copy the given number of bytes from [getIndex(), getIndex() + size) and optionally mark as read. - * Throws {@link ParseException} if size > bytesRemaining(). + * Throws {@link ParseException} if size > bytesRemaining(). * MODIFIES: this (if markAsRead == true) * REQUIRES: size > 0 */ @@ -55,7 +55,7 @@ public class BytesReader { /** * EFFECTS: Check if size <= bytesRemaining(). - * Throws {@link ParseException if not}. + * Throws {@link ParseException if not}. * REQUIRES: size > 0 */ public void validateSize(int size) throws ParseException { @@ -69,7 +69,7 @@ public class BytesReader { /** * EFFECTS: Check if the next byte has the desired tag, without changing the index. - * Throws {@link ParseException} if the input is illegal (not even a tag or EOF). + * Throws {@link ParseException} if the input is illegal (not even a tag or EOF). */ public boolean detectTag(Tag desired) throws ParseException { final int i = index; @@ -82,7 +82,7 @@ public class BytesReader { /** * EFFECTS: Get the current tag or the tag immediately following (inner) without changing the index. - * Throws {@link ParseException} if the input is illegal (not even a tag or EOF). + * Throws {@link ParseException} if the input is illegal (not even a tag or EOF). */ public Tag getTag(boolean inner) throws ParseException { final int i = index; |