提交 0d6c56b1 编写于 作者: S shtykh_roman 提交者: dongeforever

Corrected string check for emptiness.

上级 31bf0af3
......@@ -189,7 +189,7 @@ public class StatsAllSubCommand implements SubCommand {
continue;
}
if (selectTopic != null && selectTopic != "" && !topic.equals(selectTopic)) {
if (selectTopic != null && !selectTopic.isEmpty() && !topic.equals(selectTopic)) {
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册