-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Exercise class and attribute classes implementation #83
Conversation
Yonggiee
commented
Mar 22, 2020
•
edited
Loading
edited
- tests implementation not done
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.
Perhaps we should be more consistent with the file namings under the seedu.address.model.exercise
package. For the sake of consistency with the other files in this package, should we rename Sets
and Reps
to ExerciseSets
and ExerciseReps
instead?
# Conflicts: # src/main/java/seedu/address/model/client/Client.java
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.
LGTM
public static final String COMMAND_WORD = "add-e"; | ||
|
||
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds an exercise done by a client in FitBiz. " | ||
+ "Parameters: INDEX (must be a positive integer) " |
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.
shld not have le
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.
done
+ "[" + PREFIX_REPS + "REPS] " | ||
+ "[" + PREFIX_EXERCISE_WEIGHT + "EXERCISE_WEIGHT] " | ||
+ "[" + PREFIX_SETS + "SETS]\n" | ||
+ "Example: " + COMMAND_WORD + " 1 " |
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.
the + " 1 "
also
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.
done
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.
Wanky
@@ -24,13 +24,12 @@ | |||
public static final String COMMAND_WORD = "add-e"; | |||
|
|||
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds an exercise done by a client in FitBiz. " | |||
+ "Parameters: INDEX (must be a positive integer) " |
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.
Why is the "Parameters: "
also removed?
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.
oof fkup
+ PREFIX_NAME + "EXERCISE_NAME " | ||
+ PREFIX_DATE + "DATE " | ||
+ "[" + PREFIX_REPS + "REPS] " | ||
+ "[" + PREFIX_EXERCISE_WEIGHT + "EXERCISE_WEIGHT] " | ||
+ "[" + PREFIX_SETS + "SETS]\n" | ||
+ "Example: " + COMMAND_WORD + " 1 " | ||
+ "Example: " |
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.
Why did you remove the COMMAND_WORD
?