Skip to content

Commit

Permalink
Merge pull request #58 from tienkhoa16/branch-load-profile-v1.0
Browse files Browse the repository at this point in the history
Adjust save directory of profile data
  • Loading branch information
tienkhoa16 authored Oct 15, 2020
2 parents e2aea22 + 50c94e7 commit 081a739
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/profile/components/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Constants {
public static final String COMMAND_WORD_EXIT = "exit";
public static final String COMMAND_WORD_VIEW = "view";
public static final String DATA_FILE = "profile.txt";
public static final String DATA_FOLDER = "data";
public static final String DATA_FOLDER = "saves";
public static final String EMPTY_STRING = "";
public static final int EXAMPLE_AGE = 30;
public static final String EXAMPLE_BMI = "32.0 (Obesity Class 1)";
Expand Down Expand Up @@ -47,7 +47,6 @@ public class Constants {
public static final String MESSAGE_VIEW_PROFILE = "Here's your profile:" + LS + "%s";
public static final String MESSAGE_WELCOME = "Hi %s! How can I help you with your profile? :D";
public static final String PROFILE_FOLDER = "profile";
public static final String PROFILE_SAVE_FORMAT = "%s | %d | %d | %.1f | %.1f";
public static final String PROFILE_STRING_REPRESENTATION = "\tName: %s" + LS + "\tAge: %d" + LS
+ "\tHeight: %d cm" + LS + "\tWeight: %.1f kg" + LS + "\tExpected Weight: %.1f kg" + LS
+ "\tYour BMI: %s";
Expand Down

0 comments on commit 081a739

Please sign in to comment.