New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.41 Attendance bug fixes and UGDG Language corrected #270
Conversation
…port statements to prevent unwanted dependencies.
… declared and/or assigned, but not used.
# Conflicts: # src/seedu/addressbook/data/person/Attendance.java # src/seedu/addressbook/data/person/Person.java # src/seedu/addressbook/parser/Parser.java # test/java/seedu/addressbook/logic/LogicTest.java
Import statements allow the use of non-fully qualified names. The use of a fully qualified name which is covered by an import statement is redundant. Consider using the non-fully qualified name.
Position literals first in comparisons, if the second argument is null then NullPointerExceptions can be avoided, they will just return false.
Reassigning values to incoming parameters is not recommended. Use temporary local variables instead.
Pull Request Test Coverage Report for Build 879
💛 - Coveralls |
Resolves xxx. in your comment to link the issue to your pr. |
@@ -19,7 +19,7 @@ | |||
public static final String COMMAND_WORD = "attendance"; | |||
public static final String MESSAGE_USAGE = COMMAND_WORD + ":\n" | |||
+ "Updates the attendance of a student. \n" | |||
+ "Parameters: indexOfPerson d/dd-mm-yyyy att/attendance \n" | |||
+ "Parameters: INDEX d/dd-MM-yyyy att/ISPRESENT \n" | |||
+ "\tExample: " + COMMAND_WORD + " " + "1 d/29-09-2018 att/1 \n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intriguing, why is only the month capitalized lawl?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be DATE instead of the format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mick, u literally told me to change it from date to the format.
Tek In, mm means minutes. MM is month
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its just odd that the rest uppercase everything, while yours is only the month
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll change all to caps then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that, I was comparing with your other commands. However, now that I look through everyone's commands, for PARAMETERS, they are words and not format related
Also, merge conflict |
Resolves the following Issues:
[Attendance] viewAttendace wrong argument
Resolves #268
[Attendance] Command parameters
Resolves #267
[Attendance] viewAttendanceDate command
Resolves #266
[Attendance] Repeated lines for invalid date in replaceAtten command
Resolves #256
UGDG has corrected grammer and spelling