Changes

  • Added PAKETO_IMAGE_PREFIX constant to the PaketoBuilderTests class.
  • Replaced the "paketo-integration/" string with this new constant.

Motivation

  • To enhance code readability and maintainability.
  • To centralize the management of repeated strings, allowing for easier future modifications.

Impact

  • No functional changes are introduced by this refactoring.
  • Improved readability of the test code.
  • Easier to modify the Paketo integration image name format in the future if needed.

Review Requests

  • Please confirm if the constant name PAKETO_IMAGE_PREFIX is appropriate.
  • Kindly review if this change indeed improves the readability of the test code.

Comment From: wilkinsona

Just like https://github.com/spring-projects/spring-boot/pull/42420, I don't think this really improves the code. Unfortunately, reviewing each of these cosmetic changes takes up the team's time and that's time that would be better spent elsewhere. Given this, we'd prefer it if you did not submit any more changes like this. Thank you.