Skip to content

Commit

Permalink
Merge pull request #34 from QzSG/misc/naming
Browse files Browse the repository at this point in the history
Update product names
  • Loading branch information
GSzQ committed Oct 2, 2018
2 parents 3297dbb + 2a9eb34 commit ea7b230
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/main/java/seedu/address/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class MainApp extends Application {

@Override
public void init() throws Exception {
logger.info("=============================[ Initializing AddressBook ]===========================");
logger.info("=============================[ Initializing Student Planner ]===========================");
super.init();

AppParameters appParameters = AppParameters.parse(getParameters());
Expand Down Expand Up @@ -87,14 +87,14 @@ private Model initModelManager(Storage storage, UserPrefs userPrefs) {
try {
addressBookOptional = storage.readAddressBook();
if (!addressBookOptional.isPresent()) {
logger.info("Data file not found. Will be starting with a sample AddressBook");
logger.info("Data file not found. Will be starting with a sample Student Planner");
}
initialData = addressBookOptional.orElseGet(SampleDataUtil::getSampleAddressBook);
} catch (DataConversionException e) {
logger.warning("Data file not in the correct format. Will be starting with an empty AddressBook");
logger.warning("Data file not in the correct format. Will be starting with an empty Student Planner");
initialData = new AddressBook();
} catch (IOException e) {
logger.warning("Problem while reading from the file. Will be starting with an empty AddressBook");
logger.warning("Problem while reading from the file. Will be starting with an empty Student Planner");
initialData = new AddressBook();
}

Expand Down Expand Up @@ -179,13 +179,13 @@ private void initEventsCenter() {

@Override
public void start(Stage primaryStage) {
logger.info("Starting AddressBook " + MainApp.VERSION);
logger.info("Starting Student Planner " + MainApp.VERSION);
ui.start(primaryStage);
}

@Override
public void stop() {
logger.info("============================ [ Stopping Address Book ] =============================");
logger.info("============================ [ Stopping Student Planner ] =============================");
ui.stop();
try {
storage.saveUserPrefs(userPrefs);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/commons/core/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Config {
public static final Path DEFAULT_CONFIG_FILE = Paths.get("config.json");

// Config values customizable through config file
private String appTitle = "Address App";
private String appTitle = "Student Planner";
private Level logLevel = Level.INFO;
private Path userPrefsFilePath = Paths.get("preferences.json");

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/seedu/address/commons/core/ConfigTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ConfigTest {

@Test
public void toString_defaultObject_stringReturned() {
String defaultConfigAsString = "App title : Address App\n"
String defaultConfigAsString = "App title : Student Planner\n"
+ "Current log level : INFO\n"
+ "Preference file Location : preferences.json";

Expand Down

0 comments on commit ea7b230

Please sign in to comment.