Changed log level
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib@153182 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2b10846ee9
commit
76baf9de84
|
@ -225,11 +225,11 @@ public class RecordUtility {
|
|||
|
||||
// verify if serializedMap is a json (new serializable or old method)
|
||||
if (DSMapper.isJSONValid(json)){
|
||||
logger.debug("Unmarshal record with jackson");
|
||||
logger.trace("Unmarshal record with jackson");
|
||||
return (R) DSMapper.unmarshal(Record.class, json);
|
||||
} else {
|
||||
//old method
|
||||
logger.debug("Unmarshal record custom");
|
||||
logger.trace("Unmarshal record serialized as Map");
|
||||
Map<String,? extends Serializable> map = getMapFromString(json);
|
||||
if (map!=null){
|
||||
Record record = getRecord(map);
|
||||
|
|
Loading…
Reference in New Issue