提交 6201362a 编写于 作者: D Dave Brosius

don't use reference comparisons with Booleans

上级 5571e430
......@@ -580,7 +580,7 @@ public class SlaveComputer extends Computer {
// if this method is called from within the slave computation thread, this should work
Channel c = Channel.current();
if (c!=null && c.getProperty("slave")==Boolean.TRUE)
if (c!=null && Boolean.TRUE.equals(c.getProperty("slave")))
return c;
return null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册