Skip to content

Commit

Permalink
Remove a redundant isDebugEnabled() check
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrebbien committed Nov 6, 2017
1 parent 44d1419 commit d3f490c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ public EurekaHttpResponse<InstanceInfo> sendHeartBeat(String appName, String id,
}
return anEurekaHttpResponse(response.getStatus(), infoFromPeer).type(MediaType.APPLICATION_JSON_TYPE).build();
} finally {
if (logger.isDebugEnabled()) {
logger.debug("[heartbeat] Jersey HTTP PUT {}; statusCode={}", urlPath, response == null ? "N/A" : response.getStatus());
}
logger.debug("[heartbeat] Jersey HTTP PUT {}; statusCode={}", urlPath, response == null ? "N/A" : response.getStatus());
if (response != null) {
response.close();
}
Expand Down

0 comments on commit d3f490c

Please sign in to comment.