Skip to content

Commit 409ab63

Browse files
committed
remove unused variables
1 parent 5195689 commit 409ab63

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

dialogue-apache-hc5-client/src/main/java/com/palantir/dialogue/hc5/InstrumentedManagedHttpClientConnection.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,8 @@ public boolean isDataAvailable(Timeout timeout) throws IOException {
172172
public boolean isStale() throws IOException {
173173
if (log.isDebugEnabled()) {
174174
Tracer.fastStartSpan("Dialogue ConnectionValidation.isStale");
175-
long startNanos = System.nanoTime();
176175
try {
177-
boolean stale = delegate.isStale();
178-
long durationNanos = System.nanoTime() - startNanos;
179-
return stale;
176+
return delegate.isStale();
180177
} finally {
181178
Tracer.fastCompleteSpan();
182179
}

0 commit comments

Comments
 (0)