File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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" );
You can’t perform that action at this time.
0 commit comments