What is the value being returned using "" in SQL WHERE filter?

In a dataset I am cleaning, according to the schema, there should only be two distinct values under the "usertype" column. Upon further analysis I discovered there is an empty third value accounting for 5828994 empty rows of the total dataset. I tested to see if the third value would return NULL and it did… Read More What is the value being returned using "" in SQL WHERE filter?

isEmpty() on an ArrayList results in false although its size is 0

In a test I inject a mock to another class which seems to work properly. However, when I check the ArrayList if it is empty the result is false although its length/size is 0. How can this happen and how can I solve this problem? @Slf4j @Configuration @RequiredArgsConstructor @Setter(onMethod_ = @SuppressFBWarnings({"EI_EXPOSE_REP2", "EI_EXPOSE_REP"})) @Getter(onMethod_ = @SuppressFBWarnings({"EI_EXPOSE_REP2",… Read More isEmpty() on an ArrayList results in false although its size is 0