projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.93k stars 2.4k forks source link

Patch SourceTypeConverter to avoid parsing empty strings #3749

Closed Rawi01 closed 1 month ago

Rawi01 commented 2 months ago

This PR fixes #3748

rzwitserloot commented 1 month ago

Ha! That trick of replacing assertTrue(list.isEmpty()) with assertEquals(Collections.emptyList(), list) is, I presume, so that if the assertion fails, the JUnit IDE renderer thingie will show you the non-empty list, instead of simply telling you: This assertion failed?