提交 2cc1789d 编写于 作者: S Sam Judd

Fix an order of operations bug in SingleRequest.

上级 d38ffe98
......@@ -595,7 +595,8 @@ public final class SingleRequest<R> implements Request,
// We do not want to require that RequestListeners implement equals/hashcode, so we don't
// compare them using equals(). We can however, at least assert that the request listener
// is either present or not present in both requests.
&& requestListener != null ? that.requestListener != null : that.requestListener == null;
&& (requestListener != null
? that.requestListener != null : that.requestListener == null);
}
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册