Skip to content

Apply suggestions (is_directly_acceptable), close PR

Amruta Hulagar requested to merge feature/python-api into feature/golang-cli

Summary by Bito

This PR makes several small improvements to a Spring Boot Java project, including fixing a typo in the application's home response, removing an unused test file, correcting error handling in the build script, and adding input validation to a sample program.

Detailed Changes
  • Corrects a typo in the home() method return string from 'This os a test!' to 'This a test!' in DemoApplication.java
  • Removes the entire DemoApplication.java test file in src/test/java/com/example/demo/ to eliminate redundant code
  • Changes ERROR_CODE from 0 to 1 in the :error section of mvnw.cmd to properly indicate script failure
  • Adds try-catch block around user input for adding a person in sample.java, including validation that age must be a positive integer
Edited by Amruta Hulagar

Merge request reports