13 ms·
>Once you get to 100% Once you get there you already fucked up. In Java covering 100% lines means in average case testing Lombok and every equals hash. If you'
by Ygg2 3y ago
>Once you get to 100%
Once you get there you already fucked up. In Java covering 100% lines means in average case testing Lombok and every equals hash. If you're doing that you fucked up.
- groestl 3y agoI've seen broken hash implementations many times, so I'm not sure it would be a bad idea to require tests for them ;) My other favourite of trivial code that's broken: returning the same Iterator instance in Iterable.iterator()
- Ygg2 3y agoBroken or just working with Hibernate? I remember hibernate recommending using static hash. In order to prevent saving entities changing hash values.