Fixed log

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/information-system-model@130243 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-07-11 13:56:04 +00:00
parent 34d394da08
commit 6f0f9abaf6
1 changed files with 2 additions and 2 deletions

View File

@ -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;