item.isEmpty() checks only the length of the the string
item.isBlank() checks the length and that all the chars are whitespaces
That means that
" ".isEmpty()should returns false" ".isBlank()should returns true
From the doc of isBlank
Returns true if this string is empty or consists solely of whitespace
characters.