Closed dukbong closed 2 months ago
While this seems an improvement, the changed state introduces eager evaluation of String.format(…)
. I think the code lines stem from a time before Assert
accepted a message supplier. Care to switch to a lambda syntax providing the message as () -> String.format(…)
?
While this seems an improvement, the changed state introduces eager evaluation of
String.format(…)
. I think the code lines stem from a time beforeAssert
accepted a message supplier. Care to switch to a lambda syntax providing the message as() -> String.format(…)
?
Oh my god! @mp911de Your feedback helped me revisit eager and lazy evaluation, allowing me to avoid unnecessary computations. Thank you for helping me improve my code.
We're happy to help. Thanks a lot for the fast turnaround.
We're happy to help. Thanks a lot for the fast turnaround.
I also appreciate the quick feedback. 😄 I'll continue to study hard to make great contributions in the future! 📚
Thank you for your contribution. That's merged, polished, and backported now.
Thank you for your contribution. That's merged, polished, and backported now.
Thank you! I learned something new from today's open source activities!
Use the Assert object for null checks.