To make it also null-safe, we need to add an extra check: boolean isEmptyString(String string) { return string == null || string.isEmpty(); } ...
確定! 回上一頁