From 6f0f9abaf62f69259378076eb6762a97fa057c60 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Mon, 11 Jul 2016 13:56:04 +0000 Subject: [PATCH] Fixed log git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130243 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../java/org/gcube/informationsystem/impl/utils/Utility.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/informationsystem/impl/utils/Utility.java b/src/main/java/org/gcube/informationsystem/impl/utils/Utility.java index ac79101..8aad223 100644 --- a/src/main/java/org/gcube/informationsystem/impl/utils/Utility.java +++ b/src/main/java/org/gcube/informationsystem/impl/utils/Utility.java @@ -23,7 +23,7 @@ public class Utility { private static Logger logger = LoggerFactory.getLogger(Utility.class); public static String getUUIDFromJSONString(String json) throws JsonProcessingException, IOException { - logger.trace("Tryning to get UUID from {} of {} ", Header.class.getSimpleName(), json); + logger.trace("Trying to get UUID from {} of {} ", Header.class.getSimpleName(), json); JsonNode jsonNode = getJSONNode(json); JsonNode header = jsonNode.get(Entity.HEADER_PROPERTY); String uuid = header.get(Header.UUID_PROPERTY).asText(); @@ -35,7 +35,7 @@ public class Utility { if(json==null || json.compareTo("")==0){ return null; } - logger.trace("Tryning to get Jsonnode from {}"); + logger.trace("Trying to get Jsonnode from {}", json); ObjectMapper mapper = new ObjectMapper(); JsonNode jsonNode = mapper.readTree(json); return jsonNode;