From 943c5ecb97f3a4a5ee24fb9010b6d8d89fb53931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Garci=CC=81a=20de=20Prada?= Date: Tue, 27 Oct 2020 16:09:01 +0100 Subject: [PATCH] Fix typo --- .../com/owncloud/android/lib/common/http/LogInterceptor.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/http/LogInterceptor.kt b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/http/LogInterceptor.kt index 0352b821..30860f54 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/http/LogInterceptor.kt +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/http/LogInterceptor.kt @@ -131,7 +131,7 @@ class LogInterceptor : Interceptor { logHttp(RESPONSE, BODY, requestId, "Length: ${responseBody.contentLength()} byte body") logHttp(RESPONSE, BODY, requestId, "Type: ${responseBody.contentType()}") - logHttp(RESPONSE, BODY, requestId, "--> Body start for request") + logHttp(RESPONSE, BODY, requestId, "--> Body start for response") val source = responseBody.source() source.request(LIMIT_BODY_LOG) @@ -142,7 +142,7 @@ class LogInterceptor : Interceptor { RESPONSE, BODY, requestId, - "<-- Body end for request -- Binary -- Omitted: ${responseBody.contentLength()} bytes" + "<-- Body end for response -- Binary -- Omitted: ${responseBody.contentLength()} bytes" ) } @@ -155,7 +155,7 @@ class LogInterceptor : Interceptor { RESPONSE, BODY, requestId, - "<-- Body end for request -- Omitted: ${max(0, responseBody.contentLength() - LIMIT_BODY_LOG)} bytes" + "<-- Body end for response -- Omitted: ${max(0, responseBody.contentLength() - LIMIT_BODY_LOG)} bytes" ) } ?: logHttp(RESPONSE, BODY, requestId, "Empty body") }