Skip to content

Commit b62e506

Browse files
committed
add supression for must be closed
1 parent fea9ca6 commit b62e506

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google-http-client/src/main/java/com/google/api/client/http/HttpRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,7 @@ public HttpResponse execute() throws IOException {
10031003
// execute
10041004
lowLevelHttpRequest.setTimeout(connectTimeout, readTimeout);
10051005
// switch tracing scope to current span
1006+
@SuppressWarnings("MustBeClosedChecker")
10061007
Scope ws = tracer.withSpan(span);
10071008
OpenCensusUtils.recordSentMessageEvent(
10081009
span, sentIdGenerator++, lowLevelHttpRequest.getContentLength());

0 commit comments

Comments
 (0)