From a25843ebfdadb30df2336be20ac445253936cfe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 8 Jan 2021 16:17:24 +0100 Subject: [PATCH] Proba naprawienia MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .../src/main/java/com/plannaplan/services/UsosApiService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/UsosApiService.java b/buisnesslogic/src/main/java/com/plannaplan/services/UsosApiService.java index f36df9e..0d775a5 100755 --- a/buisnesslogic/src/main/java/com/plannaplan/services/UsosApiService.java +++ b/buisnesslogic/src/main/java/com/plannaplan/services/UsosApiService.java @@ -3,6 +3,7 @@ package com.plannaplan.services; import java.io.IOException; import java.util.Map; import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.core.type.TypeReference; @@ -62,6 +63,7 @@ public class UsosApiService { final ObjectMapper mapper = new ObjectMapper(); Map map = mapper.readValue(json, new TypeReference>() { }); + System.out.println(map.size()); System.out.println("FIELD"); apiResponse.setName(map.get(NAME_FIELD)); System.out.println(map.get(NAME_FIELD));