Daniel Felgar
Results
2
issues of
Daniel Felgar
This example return EI_EXPOSE_REP, but `emptyList()`, `emptySet()` and `emptyMap()` are immutable collections. ```java public record UnmodifiableRecord(List list, Set set, Map map) { public UnmodifiableRecord { list = list != null...
Same bug was reported and fix here (https://github.com/spotbugs/spotbugs/issues/1771), but when using Java Record and Optional to check if attribute is null. ``` package org.example; import java.util.List; import java.util.Map; import java.util.Set;...