結果 : java code to check if string is not null or empty