aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/asn1/parsing/BytesReader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/model/asn1/parsing/BytesReader.java')
-rw-r--r--src/main/model/asn1/parsing/BytesReader.java8
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;