Proba naprawienia]

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

View File

@ -61,8 +61,12 @@ public class UsosApiService {
final String json = response.getBody(); final String json = response.getBody();
System.out.println(json == null); System.out.println(json == null);
System.out.println(json == "null"); System.out.println(json == "null");
System.out.println(json.equals("null"));
//System.out.println(json.equals(null));
System.out.println(json);
if (json != "null" && json != null){ if (json != "null" && json != null){
System.out.println(json); System.out.println(json);
System.out.println(json.getClass());
System.out.println("Przed Object"); System.out.println("Przed Object");
final ObjectMapper mapper = new ObjectMapper(); final ObjectMapper mapper = new ObjectMapper();
System.out.println("Przed mapą"); System.out.println("Przed mapą");