Skip to content

Commit

Permalink
reduce lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jlifah committed Oct 13, 2020
1 parent 7c62e32 commit fc5fadb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/main/java/seedu/duke/userprofile/Userinfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ public String getactivityfactor() {


public void printNewUserCalculatedDetails() {
// try {
// if (Integer.parseInt(this.getactivityfactor()) > 5) {
// throw new IllegalArgumentException();
// }
// } catch (IllegalArgumentException illegalArgumentException) {
// displayInvalidActivityFactorMessage();
// }

double activityMultiple = 0;
double activityMultiple;

switch (Integer.parseInt(this.getactivityfactor())) {
case 1:
Expand Down

0 comments on commit fc5fadb

Please sign in to comment.