Closed Eclipse-Dominator closed 1 year ago
Click here to submit a new iteration when this PR is ready for review.
See this repository's contribution guide for more information.
While working on this, I realised that the
initialData = new AddressBook();
} catch (IOException e) {
logger.warning("Problem while reading from the file " + storage.getAddressBookFilePath()
+ ". Will be starting with an empty AddressBook");
initialData = new AddressBook();
}
and
initializedPrefs = new UserPrefs();
} catch (IOException e) {
logger.warning("Problem while reading from the file " + prefsFilePath
+ ". Will be starting with an empty AddressBook");
initializedPrefs = new UserPrefs();
}
is unnecessary as the actual implementation of the methods used in the try block already handles the IO Exception, I will link a separate issue here #167
use #170
Fixes #139 Continued from #152
Modified warning messages to show filepath