Proba naprawienia

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2021-01-09 14:00:29 +01:00
parent 11d21be627
commit 2320d66a35
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -59,7 +59,9 @@ public class UsosApiService {
try (Response response = service.execute(request)) { try (Response response = service.execute(request)) {
System.out.println("TRY"); System.out.println("TRY");
final String json = response.getBody(); final String json = response.getBody();
if (json != null){ System.out.println(json == null);
System.out.println(json == "null");
if (json != "null" && json != null){
System.out.println(json); System.out.println(json);
System.out.println("Przed Object"); System.out.println("Przed Object");
final ObjectMapper mapper = new ObjectMapper(); final ObjectMapper mapper = new ObjectMapper();