Skip to content

Commit 79d7ab8

Browse files
authored
Update Main.java to remove the full stop in all log messages
1 parent 4d49331 commit 79d7ab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/bookbob/Main.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ public static void main(String[] args) throws IOException {
5858

5959
if (nameStart == -1) {
6060
System.out.println("Please provide the patient's name.");
61-
logger.log(Level.INFO, "Name of the patient is not provided.");
61+
logger.log(Level.INFO, "Name of the patient is not provided");
6262
break;
6363
}
6464

6565
if (nricStart == -1) {
6666
System.out.println("Please provide the patient's NRIC.");
67-
logger.log(Level.INFO, "NRIC of the patient is not provided.");
67+
logger.log(Level.INFO, "NRIC of the patient is not provided");
6868
break;
6969
}
7070
commandHandler.add(input, records);
@@ -95,7 +95,7 @@ public static void main(String[] args) throws IOException {
9595
logger.log(Level.INFO, "Successfully processed delete command");
9696
} else {
9797
System.out.println("Please specify an NRIC to delete.");
98-
logger.log(Level.INFO, "Empty NRIC inputted.");
98+
logger.log(Level.INFO, "Empty NRIC inputted");
9999
}
100100
} catch (Exception e) {
101101
logger.log(Level.WARNING, "Error processing deletion");

0 commit comments

Comments
 (0)