spring-projects / spring-ws

Spring Web Services
https://spring.io/projects/spring-ws
Apache License 2.0
322 stars 311 forks source link

Refactor getFaultStringOrReason to Return Optional and Update JavaDoc #1428

Open ThomasLuuu opened 3 months ago

ThomasLuuu commented 3 months ago

Method Refactor: Changed the getFaultStringOrReason method to return an Optional. This improves handling of absent values and makes the method's contract more explicit.