Skip to content

Commit 2bf7173

Browse files
committed
Remove comment
1 parent 1241af8 commit 2bf7173

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -902,10 +902,8 @@ public long contentLength() throws IOException {
902902

903903
@Override
904904
public void writeTo(@Nonnull BufferedSink sink) throws IOException {
905-
// stored in variable before writing to the sink due to
906-
// available()'s definition
907905
long contentLength = contentLength();
908-
if (contentLength() > 0) {
906+
if (contentLength > 0) {
909907
requestInfo.content.mark((int) contentLength);
910908
}
911909
sink.writeAll(Okio.source(requestInfo.content));

0 commit comments

Comments
 (0)