3 ms·
I can't see a problem with nonempty, am I stupid?
by exceptione 9y ago
I can't see a problem with nonempty, am I stupid?
- Thiez 9y agoA `String` in Java has a `.length()`, not a `.size()`.
- twic 9y agoApologies! I meant to include a comment pointing out the error (as Thiez writes, it should be length, not size), but that somehow didn't make it into the comment as published. I blame my sub-editors, can't find the staff these days.