You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2024/09/19 16:10:24 UTC

(sling-samples) 14/15: chore(oauth): stop printing responses to stdout

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-samples.git

commit ef3f19696162a51e75c3c262c638e8e0e55a9658
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Sep 19 15:03:01 2024 +0200

    chore(oauth): stop printing responses to stdout
---
 .../org/apache/sling/samples/oauth_demo/impl/YoutubeHttpClient.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git a/oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/impl/YoutubeHttpClient.java b/oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/impl/YoutubeHttpClient.java
index fe153ce..54cbc56 100644
--- a/oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/impl/YoutubeHttpClient.java
+++ b/oauth/core/src/main/java/org/apache/sling/samples/oauth_demo/impl/YoutubeHttpClient.java
@@ -47,8 +47,6 @@ public class YoutubeHttpClient {
     
             String body = response.body();
             
-            System.out.println(body);
-            
             ObjectMapper mapper = new ObjectMapper();
             return mapper.reader().readValue(body, YoutubeSearchResponse.class);
         }