Skip to content

Commit

Permalink
Removed ImportCommand#getPersonsFromCsv throws DataLoadingError
Browse files Browse the repository at this point in the history
  • Loading branch information
tah5in committed Apr 15, 2024
1 parent 5fd75b5 commit 8cadcd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private List<JsonAdaptedPerson> readPersonsFromCsv(File file) throws DataLoading
* @return A List of JsonAdaptedPerson present inside the {@code file}.
* @throws IOException If the {@code file} is unable to be loaded.
*/
private List<JsonAdaptedPerson> getPersonsFromCsv(String filePath) throws IOException, DataLoadingException {
private List<JsonAdaptedPerson> getPersonsFromCsv(String filePath) throws IOException {
List<JsonAdaptedPerson> persons = new ArrayList<>();
BufferedReader br = new BufferedReader(new FileReader(filePath));
String line = "";
Expand Down

0 comments on commit 8cadcd3

Please sign in to comment.