Feature/nodejs server
Summary by Bito
This pull request modifies the DateFormatter class to remove null validation and update the date formatting implementation, adds new Java utility classes for person management, corrects a grammatical error in the demo application's home endpoint, and originally introduced null validation to the DateFormatter class for improved input handling.
Detailed Changes
- Removes null validation from the formatDate method in DateFormatter.java, introducing a risk of NullPointerException if null dates are passed
- Updates date formatting in DateFormatter.java to use DateTimeFormatter with dd/MM/yyyy pattern instead of DateFormat.SHORT
- Introduces a Person management system in sample.java, including Person class with getters/setters and a Main class for managing a list of persons with user input addition and average age calculation
- Fixes a typo in DemoApplication.java, correcting 'This os a test!' to 'This a test!' in the home endpoint
Edited by Amruta Hulagar