Fixing internals
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-couchdb@122612 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f5a93f0850
commit
2bf5db7b16
|
@ -74,7 +74,7 @@ public class PersistenceCouchDB extends PersistenceBackend {
|
||||||
protected static Record jsonNodeToUsageRecord(JsonNode jsonNode) throws Exception {
|
protected static Record jsonNodeToUsageRecord(JsonNode jsonNode) throws Exception {
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
Map<String, Comparable<? extends Serializable>> result = mapper.convertValue(jsonNode, Map.class);
|
Map<String, Serializable> result = mapper.convertValue(jsonNode, Map.class);
|
||||||
Record record = RecordUtility.getRecord(result);
|
Record record = RecordUtility.getRecord(result);
|
||||||
return record;
|
return record;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue