Skip to content

Commit eaf035b

Browse files
authored
Merge pull request #75 from JQChong/update-documentation-bug
Update documentation bug and codecov badge
2 parents f92558d + 8958554 commit eaf035b

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[![CI Status](https://github.com/AY2021S2-CS2103-T16-1/tp/workflows/Java%20CI/badge.svg)](https://github.com/se-edu/addressbook-level3/actions)
1+
[![CI Status](https://github.com/AY2021S2-CS2103-T16-1/tp/workflows/Java%20CI/badge.svg)](https://github.com/AY2021S2-CS2103-T16-1/tp/actions)
2+
[![codecov](https://codecov.io/gh/AY2021S2-CS2103-T16-1/tp/branch/master/graph/badge.svg)](https://codecov.io/gh/AY2021S2-CS2103-T16-1/tp)
23

34
![Ui](docs/images/Ui.png)
45

src/main/java/seedu/address/logic/commandlist/CommandList.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public void addCommand(String command) {
4646
}
4747

4848
/**
49-
* Moves the pointer to previous node in the list and returns the command stored.
50-
* If the pointer is at the previous node at the time of calling, command stored
51-
* in the first node is returned.
52-
* @return Command stored in the previous node, or command stored in the head node
53-
* if there is no previous node.
49+
* Moves the pointer to next node in the list and returns the command stored.
50+
* If the pointer is at the last node at the time of calling, the command
51+
* stored in the last node is returned.
52+
* @return Command stored in the next node, or command stored in the tail node if the
53+
* pointer is at the last node.
5454
*/
5555
public String moveDown() {
5656
if (cursor.nextNode != tailPointer && cursor.nextNode != null) {
@@ -60,11 +60,11 @@ public String moveDown() {
6060
}
6161

6262
/**
63-
* Moves the pointer to next node in the list and returns the command stored.
64-
* If the pointer is at the last node at the time of calling, the command
65-
* stored in the last node is returned.
66-
* @return Command stored in the next node, or command stored in the tail node if the
67-
* pointer is at the last node.
63+
* Moves the pointer to previous node in the list and returns the command stored.
64+
* If the pointer is at the previous node at the time of calling, command stored
65+
* in the first node is returned.
66+
* @return Command stored in the previous node, or command stored in the head node
67+
* if there is no previous node.
6868
*/
6969
public String moveUp() {
7070
if (cursor.prevNode != null) {

0 commit comments

Comments
 (0)