http-client-branch: remove redundant null check http-client-branch
authorchegar
Mon, 05 Feb 2018 19:12:00 +0000
branchhttp-client-branch
changeset 56074 06459c34105f
parent 56073 38d25d0eeae8
child 56075 c76699d2e572
http-client-branch: remove redundant null check
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClientImpl.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClientImpl.java	Mon Feb 05 19:09:31 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClientImpl.java	Mon Feb 05 19:12:00 2018 +0000
@@ -974,7 +974,7 @@
         // can be useful for debugging
         if (toHandle != null && Log.trace()) {
             Log.logTrace("purgeTimeoutsAndReturnNextDeadline: handling "
-                    + (toHandle == null ? 0 : toHandle.size()) + " events, "
+                    +  toHandle.size() + " events, "
                     + "remaining " + remaining
                     + ", next deadline: " + (diff < 0 ? 0L : diff));
         }