if ("".equals(str))
↑
if (str != null && str.equals(""))
上はnullチェックも兼ねている
Go to list of users who liked
More than 1 year has passed since last update.
if ("".equals(str))
↑
if (str != null && str.equals(""))
上はnullチェックも兼ねている
Register as a new user and use Qiita more conveniently
Go to list of users who liked