diff --git a/CircularLL/public/CircularLinkedList.java b/CircularLL/public/CircularLinkedList.java index 962f42f..73a38f5 100644 --- a/CircularLL/public/CircularLinkedList.java +++ b/CircularLL/public/CircularLinkedList.java @@ -70,7 +70,7 @@ public void enqueue(Item item) { * less than 0 or greater to the size * of the list */ - public Item remove(int index) throws IndexOutOfBoundsException { + public Item remove(int index) { // TODO return null; } diff --git a/CircularLL/task.yaml b/CircularLL/task.yaml index 1446b89..83919ea 100644 --- a/CircularLL/task.yaml +++ b/CircularLL/task.yaml @@ -90,7 +90,7 @@ context: |- * less than 0 or greater or equal to the size * of the list */ - public Item remove(int index) throws IndexOutOfBoundsException { + public Item remove(int index) { // TODO } diff --git a/CircularLL/templates/CircularLinkedList.java b/CircularLL/templates/CircularLinkedList.java index ec9c888..2369660 100644 --- a/CircularLL/templates/CircularLinkedList.java +++ b/CircularLL/templates/CircularLinkedList.java @@ -29,7 +29,7 @@ public void enqueue(Item item) { * less than 0 or greater to the size * of the list */ - public Item remove(int index) throws IndexOutOfBoundsException { + public Item remove(int index) { @@student_remove@@ }