spring-projects / spring-data-jpa

Simplifies the development of creating a JPA-based data access layer.
https://spring.io/projects/spring-data-jpa/
Apache License 2.0
3.02k stars 1.42k forks source link

Replace `!Optional.isPresent()` with `isEmpty()` for readability #3648

Closed jeonghyeon00 closed 3 weeks ago

jeonghyeon00 commented 1 month ago

Refactor: replace !optionalValue.isPresent() with optionalValue.isEmpty()

mp911de commented 3 weeks ago

Thank you for your contribution. That's merged and backported now.